Advertisement
otorp2

coffeescript return func

Jan 22nd, 2020
3,390
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. home()
  2. pen purple, 1
  3. square = (x) ->
  4.   if x > 4
  5.     return x * 20
  6.   else
  7.     return x*1000
  8. fd square(30)
  9. write square(30)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement