about summary refs log tree commit diff stats
path: root/coffee/starfish.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'coffee/starfish.coffee')
-rw-r--r--coffee/starfish.coffee4
1 files changed, 4 insertions, 0 deletions
diff --git a/coffee/starfish.coffee b/coffee/starfish.coffee
new file mode 100644
index 0000000..bfd5f44
--- /dev/null
+++ b/coffee/starfish.coffee
@@ -0,0 +1,4 @@
+square = (x) -> x * x
+cube   = (x) -> square(x) * x
+
+console.log cube(33)