Lesson Weekend

Goal: In the Methods lesson, we learned:

  • How to manipulate numbers with methods
  • Exponential notation
  • The argument to the method is located within the parentheses
  • Methods, in JavaScript, are always followed by parentheses

Begin to practice using methods by completing the exercises listed below.

Warm Up

  • What is a return value? What does it represent?
  • What is an argument? How do you provide one to a method in JavaScript?


Methods Practice

Practice using the methods you've learned about:

  • Convert the following to exponential notation:
    • 9238.479
    • 98370923874.32
    • 324.64322
  • Specify the number of decimal places each number should have.
  • Repeat all of these using a variable set equal to any number you choose.

Lesson 12 of 61
Last updated January 20, 2021