+ 1
JavaScript var help
https://code.sololearn.com/WscXIa8cqLtv/?ref=app This is my first JavaScript code and I'm not getting any result. And I can't figure out the mistake(s). Any body know why? -
2 Answers
+ 4
You need to print the result.
Try `console.log(k);` or `document.write(k);`.
+ 1
It works (document.write)