Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function exerciseFour(num1){
- // In this exercise, you will be given a variable, it will be called: num1
- // On the next line create a variable called 'rounded'. Call the Math global object's round method, passing it num1, and assign it to the rounded variable.
- var rounded =
- // Please write your answer in the line above.
- return rounded;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement