I began using Sublime Text 2 for my Javascript coding and love it. I'm creating a small project that requires input from the user. Normally, or from previous practice, I was able to write:
var x = prompt("What city do you live in?") and have the string assigned to the var x
But, when I run this line of code in ST2 I get:
Exception: ReferenceError: Can't find variable: prompt.
I've installed Package Control but can't find a plug-in to address my need.I installed SublimeREPL and that didn't work for me.
Thanks, this is my first question on Stack. Any comments or assistance is welcomed.