mirror of
https://github.com/jekyll/jekyll.git
synced 2026-01-13 17:08:06 -05:00
11 lines
172 B
CoffeeScript
11 lines
172 B
CoffeeScript
---
|
|
---
|
|
|
|
$ ->
|
|
list = [1, 2, 3, 4, 5]
|
|
square = (x) -> x * x
|
|
cube = (x) -> square(x) * x
|
|
cubes = (math.cube num for num in list)
|
|
|
|
alert "I knew it!" if elvis?
|