Javascript for browsers vs Javascript for Node #656
Replies: 2 comments 1 reply
-
idk the context but here is my opinion :D |
Beta Was this translation helpful? Give feedback.
-
I think for the most part they're the same. I asked a friend about it and he couldn't really see much of a need to differentiate between browser and non-browser (Node) JS. Maybe for parts where it differs it could have comments. (Like Node has functions for reading the file system that you can't do in-browser.) If it differed drastically (like foundational/primitive stuff) I could uses a use case for this but presently don't. I'm open to ideas though! |
Beta Was this translation helpful? Give feedback.
-
I don't know why i am asking , but have this question tinkling in my mind.
Should Javascript be broken into JS for browsers ans JS for Node ? Since documentation does mentions that different breeds/version of same language could exist .
(Didn't mentioned in the issue since a discussion first seemed reasonable)
Beta Was this translation helpful? Give feedback.
All reactions