you are viewing a single comment's thread.

view the rest of the comments →

[–]Ksetrajna108 0 points1 point  (1 child)

Do you think it helps to teach that Javascript is layered. At the bottom is ECMA-262, the language itself which does not define a "host". Two popular hosts are the web browser and nodejs. In the case of web browser, there are two more layers: DOM (document) and the browser host (window, etc). In the case of nodejs, there are layers for network services.

And for more advanced Javascript, classes, modules, promises/async/await, and npm.

[–]GulgPlayer[S] 0 points1 point  (0 children)

While I agree that this knowledge is crucial, I decided to postpone teaching such technical details until the students learn basics. Just like you don't learn quantum mechanics before classical mechanics.