Should I learn JavaScript before Nodejs?
This is apparently a common question that people ask. “Should I learn JavaScript before Nodejs?” The answer is yes, you really should learn JavaScript first. That doesn’t mean that you can’t learn both of these technologies together, at the same time but you wouldn’t want to attempt to learn NodeJS without actually learning any JavaScript.
The reason for this is that NodeJS is a runtime for JavaScript. The entire point of Node is to enable you to run JavaScript. You need to at least be able to work with the language a little bit before you can actually use the run time.
You could compare this to asking, “Should I learn letters before I learn words?” or “Should I learn to walk before I learn to use a treadmill?”
So while you wouldn’t want to necessarily try to learn NodeJS without JS, you could learn them together, at the same time. You are going to need to run your code somewhere right?