diff options
Diffstat (limited to 'coffee/starfish.js')
-rw-r--r-- | coffee/starfish.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/coffee/starfish.js b/coffee/starfish.js new file mode 100644 index 0000000..3e6af8b --- /dev/null +++ b/coffee/starfish.js @@ -0,0 +1,15 @@ +// Generated by CoffeeScript 2.7.0 +(function() { + var cube, square; + + square = function(x) { + return x * x; + }; + + cube = function(x) { + return square(x) * x; + }; + + console.log(cube(33)); + +}).call(this); |