mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
10 lines
No EOL
261 B
JavaScript
10 lines
No EOL
261 B
JavaScript
var globals, name, _results;
|
|
var __hasProp = Object.prototype.hasOwnProperty;
|
|
globals = ((function() {
|
|
_results = [];
|
|
for (name in window) {
|
|
if (!__hasProp.call(window, name)) continue;
|
|
_results.push(name);
|
|
}
|
|
return _results;
|
|
})()).slice(0, 10); |