+ 1
Help in JS test
Hello! I am trying to do the course test in Javascript. In the problem I have to increase the items in the array by the user input. Example: var prices = new array(25,70,15.99,11.50); //input in case 1 = 9 so the output is 33,79,24.99,20,50 but I try to use document.write(); , alert(); and Console.Write(); from C# too but i always have the same error "document" is not defined. "alert" is not defined. "Console" is not defined. so how i can give the output if always i receive a error when i try do show him?
2 Respostas
+ 2
W , use console.log ().
+ 1
TheWh¡teCat 🇧🇬 now Idk what happened
http://imgur.com/a/4nPTGO1