Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Challenge 0
- // func takes no params and returns "this is a fun function"
- func() == "this is a fun function"
- //Challenge 1
- // func takes one parameter and returns 1 less than it's value
- func(25) == 24
- //Challenge 2
- // func takes two params and returns the sum of the two values
- func(23, 27) == 50
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement