Why does this code showing error?
The user can choose the color theme for the browser: 1. Light 2. Dark 3. Nocturne 4. Terminal 5. Indigo You are given a program that takes the number as input. Complete the program so that it will output to the console the theme according to input number. Sample Input 2 Sample Output Dark function main() { var themeNumber = parseInt(readLine(2), 10) /* 1 - Light 2 - Dark 3 - Nocturne 4 - Terminal 5 - Indigo */ // Your code here switch (themeNumber){ case 1: console.log("light"); break case 2: console.log("Dark"); break case 3: console.log("Nocturne"); break case 4: console.log("Terminal"); break default: console.log("Indigo"); break } }