let key = "right"; switch (key) { case "right": console.log("Go right"); break; case "left": console.log("Go left"); break; }
Go right