Codington
0 of 8 problems solved • 0%
Use in a course

Exercise prompt

Put Several Steps in a Function

A function body can contain several statements. They run from top to bottom each time the function is called.

Example

function startLesson() { console.log("Open notes"); console.log("Start timer"); }

Your task

Complete prepareDesk so its call displays Open laptop followed by Open editor.