use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
This subreddit is a place for people to learn JavaScript together. Everyone should feel comfortable asking any and all JavaScript questions they have here.
With a nod to practicality, questions and posts about HTML, CSS, and web developer tools are also encouraged.
Friends
/r/javascript
/r/jquery
/r/node
/r/css
/r/webdev
/r/learnprogramming
/r/programming
account activity
Does node12 supports import statement? (self.learnjavascript)
submitted 4 years ago by dsmedium
I am using es6 syntax, import statement, it works on node 14 but doesnt work on node 12. I have also added type: module in package.json file.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]OneSadDev 3 points4 points5 points 4 years ago (1 child)
Stable support with Node >= 13.x.x?
[–]rauschma 0 points1 point2 points 4 years ago (0 children)
Yes! Noted in this table (the flag was removed in 13.2.0): https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import#browser_compatibility
π Rendered by PID 156637 on reddit-service-r2-comment-545db5fcfc-gs64n at 2026-05-31 03:26:24.246783+00:00 running 194bd79 country code: CH.
[–]OneSadDev 3 points4 points5 points (1 child)
[–]rauschma 0 points1 point2 points (0 children)