1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00
jashkenas--coffeescript/documentation/js/expressions_comprehension.js
2010-09-21 23:58:05 -04:00

11 lines
No EOL
297 B
JavaScript

var _i, _ref, _result, globals, name;
var __hasProp = Object.prototype.hasOwnProperty;
globals = (function() {
_result = []; _ref = window;
for (name in _ref) {
if (!__hasProp.call(_ref, name)) continue;
_i = _ref[name];
_result.push(name);
}
return _result;
})().slice(0, 10);