4 ms·
$('body') .click (e) -> $('.box') .fadeIn('fast') .addClass '.active' .css 'background', 'white' If I omit as many parentheses as possible. Als
by xixixao 13y ago
$('body')
.click (e) ->
$('.box')
.fadeIn('fast')
.addClass '.active'
.css 'background', 'white'
If I omit as many parentheses as possible. Also for the other example:
result = range(1, 3)
.concat(range 4, 6)
.map((x) -> x * x)
.filter (x) -> x % 2 is 0