I program chat bots for multiplayerpiano.com using node.js, and i recently 
discovered that the REPL (codeanywhere) creates a new scope for each line 
(example below)
<https://lh3.googleusercontent.com/-zxQoitf9JGg/WkMbS9WHzGI/AAAAAAAAABQ/aRqQvnrNEhg_UfNgUTKdJCeQ9wCJqpRRgCLcBGAs/s1600/Screenshot_102.png>But
 
then, when I declare a var without using var, let, or const, it works. Is 
there a way to fix this? 


~Seth C

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/48ffd2b6-0aa7-4d20-b811-20e5879a8e02%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to