mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
11 lines
No EOL
297 B
JavaScript
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); |