jashkenas--coffeescript/documentation/js/expressions_comprehension.js

11 lines
297 B
JavaScript
Raw Normal View History

2010-09-22 03:58:05 +00:00
var _i, _ref, _result, globals, name;
2010-07-29 04:51:35 +00:00
var __hasProp = Object.prototype.hasOwnProperty;
globals = (function() {
2010-09-22 03:58:05 +00:00
_result = []; _ref = window;
for (name in _ref) {
if (!__hasProp.call(_ref, name)) continue;
_i = _ref[name];
_result.push(name);
2010-07-29 04:51:35 +00:00
}
2010-09-22 03:58:05 +00:00
return _result;
2010-07-29 04:51:35 +00:00
})().slice(0, 10);