LaunchCode logo
  1. Contents
  2. 12. Objects and the Math Object

12. Objects and the Math ObjectΒΆ

  • 12.1. Objects and Why They Matter
    • 12.1.1. Initializing Objects
    • 12.1.2. Methods and Properties
    • 12.1.3. Check Your Understanding
  • 12.2. Working with Objects
    • 12.2.1. Accessing Properties
      • 12.2.1.1. Bracket Syntax
      • 12.2.1.2. Dot Notation
    • 12.2.2. Modifying Properties
      • 12.2.2.1. Add New Key/Value Pairs
    • 12.2.3. Check Your Understanding
  • 12.3. Coding With Objects
    • 12.3.1. Booleans and Objects
    • 12.3.2. Iterating Through Objects
    • 12.3.3. Objects and Functions
    • 12.3.4. Check Your Understanding
  • 12.4. The Math Object
    • 12.4.1. Math Properties Are Constants
    • 12.4.2. Other Math Properties
  • 12.5. Math Methods
    • 12.5.1. Common Math Methods
    • 12.5.2. Check Your Understanding
  • 12.6. Combining Math Methods
    • 12.6.1. Random Selection From an Array
    • 12.6.2. Rounding to Decimal Places
    • 12.6.3. Check Your Understanding
  • 12.7. Exercises: Objects & Math
    • 12.7.1. Part 1: Create More Objects
      • 12.7.1.1. Add a New Property
      • 12.7.1.2. Add a Method
      • 12.7.1.3. Store the Objects
    • 12.7.2. Part 2: Crew Reports
    • 12.7.3. Part 3: Crew Fitness
  • 12.8. Studio: Objects & Math
    • 12.8.1. Select the Crew
      • 12.8.1.1. Randomly Select ID Numbers
      • 12.8.1.2. Build a crew Array
    • 12.8.2. Orbit Calculations
    • 12.8.3. Bonus Missions
      • 12.8.3.1. Conserve O 2
      • 12.8.3.2. Fuel Required for Launch
  • ← 11.11. Studio: More Functions
  • 12.1. Objects and Why They Matter →

Back to top