JavaScript: The Ghost in the Machine
10 Modules
- Mission 0: System Command Language
- Mission 1: Drone Activation
- Mission 2: The Debris Field
- Mission 3: Building the Command Library
- Mission 4: Planetary Survey
- Mission 5: The Drone Factory
- Mission 6: Interstellar Relay
- Mission 7: The Interactive Star Map
- Mission 8: Codebase Refactor
- Mission 9: Rebooting the Command Core
Mission 5: The Drone Factory
Create a `Drone` class with a constructor that sets its `id` and methods to control it.
00:00
Mission Objective
Define a class `Drone`. The `constructor` should accept an `id` and set `this.id = id`. Add a method `getStatus()` that logs `this.id + " is operational."`.
Step 1 / 3
System Briefing: Manufacturing Blueprints
Your prototype drone was a success. Now, ALC wants a fleet. You need to create a standardized blueprint (a Class) to manufacture any number of specialized drones.