Should I use node or web in code playground to test my Javascript codes? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Should I use node or web in code playground to test my Javascript codes?

18th Nov 2021, 6:20 PM
Srinath
3 Answers
+ 1
If you don't need user input or in general don't need modal pop up windows like 'alert', 'confirm', 'prompt', and your code doesn't deal with DOM (changing/adding/deleting elements from document etc.), then you can use Node for plain javascript code.
18th Nov 2021, 6:51 PM
Artur
Artur - avatar
+ 1
node
18th Nov 2021, 6:23 PM
Jackson Jameson
Jackson Jameson - avatar
0
Artur thanks man that was helpful
19th Nov 2021, 5:14 AM
Srinath