In the next lesson, well be walking you through how to create a slightly more complex Javascript function. If you wish to follow along, you can copy the following code.
function getMilk() { console.log("leaveHouse"); console.log("moveRight"); console.log("moveRight"); console.log("moveUp"); console.log("moveUp"); console.log("moveUp"); console.log("moveUp"); console.log("moveRight"); console.log("moveRight"); console.log("moveLeft"); console.log("moveLeft"); console.log("moveDown"); console.log("moveDown"); console.log("moveDown"); console.log("moveDown"); console.log("moveLeft"); console.log("moveLeft"); console.log("enterHouse"); }