Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // JavaScript Document
- var result;
- function cube(x)
- {
- result = x * x * x;
- return result;
- }
- document.write(cube(3));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement