Advertisement
whip

Untitled

Mar 25th, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. function exerciseFour(num1){
  2. // In this exercise, you will be given a variable, it will be called: num1
  3. // 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.
  4. var rounded =
  5. // Please write your answer in the line above.
  6. return rounded;
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement