UNPKG
coffee-script
Version:
latest (1.12.7)
stable (1.12.7)
1.12.7
1.12.6
1.12.5
1.12.4
1.12.3
1.12.2
1.12.1
1.12.0
1.11.1
1.11.0
1.10.0
1.9.3
1.9.2
1.9.1
1.9.0
1.8.0
1.7.1
1.7.0
1.6.3
1.6.2
1.6.1
1.6.0
1.5.0
1.4.0
1.3.3
1.3.2
1.3.1
1.3.0
1.2.0
1.1.3
1.1.2
1.1.1
1.1.0
1.0.1
1.0.0
0.9.6
0.9.5
0.9.4
0.9.3
0.9.2
0.9.1
0.9.0
0.7.2
0.7.1
0.7.0
Unfancy JavaScript
coffee-script
/
documentation
/
js
/
expressions_comprehension.js
10 lines
•
259 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
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
);