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

12. Objects and the Math ObjectΒΆ

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

Back to top