Lesson 1 of 7
OptionalQuick recap
Canvas games rely on functions that compute and return a value.
JS functions mastered? Skip this lesson.
🎯 Your goal
Write double(n) → n * 2, then put double(5) into result.
PRO lesson
This advanced chapter is part of CodeAge PRO. Unlock it to keep your adventure going.
Discover PRO →