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
/
patterns_and_splats.js
4 lines
•
248 B
JavaScript
View Raw
1
2
3
4
var close, contents, open, tag, _i, _
ref
; var __slice = Array.prototype.slice; tag =
"<impossible>"
; _
ref
= tag.
split
(
""
), open = _
ref
[
0
], contents =
3
<= _
ref
.length ? __slice.
call
(_
ref
,
1
, _i = _
ref
.length -
1
) : (_i =
1
, []), close = _
ref
[_i++];