Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // function abstraction
- cube = function($x) {
- return $x * $x * $x;
- }
- // function application
- three_cubed = cube(3)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement