Mission 3: Building the Command Library
Package the drone's scanning capability into a named, reusable function.
00:00
Mission Objective
Declare a function named `activateScanner` that logs "Scanner activated." to the console. Then, call the function.
Step 1 / 4
System Briefing: Reusable Subroutines
Writing code line-by-line is inefficient. You need to create a library of reusable subroutines (functions) for the drone to execute on command.