MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/g5har3/nodejs_v14_released/fo4eviy/?context=9999
r/javascript • u/pimterry • Apr 21 '20
74 comments sorted by
View all comments
140
Looks like we finally get optional chaining and null coalescing!
0 u/[deleted] Apr 21 '20 [deleted] 2 u/McThakken Apr 21 '20 Why? 🙈🤔 9 u/ShortFuse Apr 21 '20 Babel will transcompile (downconvert) the ES2020 syntax code to something Node can understand (eg: CommonJS+ES2015).See https://node.green/ to see what version of NodeJS support what syntax. 6 u/[deleted] Apr 21 '20 [removed] — view removed comment 20 u/ShortFuse Apr 21 '20 Because if NodeJS can natively support ES2020, then you don't need Babel to convert down to anything. 7 u/mattmahn Apr 22 '20 But there's likely going to be future ES features that they'll need Babel for early access
0
[deleted]
2 u/McThakken Apr 21 '20 Why? 🙈🤔 9 u/ShortFuse Apr 21 '20 Babel will transcompile (downconvert) the ES2020 syntax code to something Node can understand (eg: CommonJS+ES2015).See https://node.green/ to see what version of NodeJS support what syntax. 6 u/[deleted] Apr 21 '20 [removed] — view removed comment 20 u/ShortFuse Apr 21 '20 Because if NodeJS can natively support ES2020, then you don't need Babel to convert down to anything. 7 u/mattmahn Apr 22 '20 But there's likely going to be future ES features that they'll need Babel for early access
2
Why? 🙈🤔
9 u/ShortFuse Apr 21 '20 Babel will transcompile (downconvert) the ES2020 syntax code to something Node can understand (eg: CommonJS+ES2015).See https://node.green/ to see what version of NodeJS support what syntax. 6 u/[deleted] Apr 21 '20 [removed] — view removed comment 20 u/ShortFuse Apr 21 '20 Because if NodeJS can natively support ES2020, then you don't need Babel to convert down to anything. 7 u/mattmahn Apr 22 '20 But there's likely going to be future ES features that they'll need Babel for early access
9
Babel will transcompile (downconvert) the ES2020 syntax code to something Node can understand (eg: CommonJS+ES2015).
See https://node.green/ to see what version of NodeJS support what syntax.
6 u/[deleted] Apr 21 '20 [removed] — view removed comment 20 u/ShortFuse Apr 21 '20 Because if NodeJS can natively support ES2020, then you don't need Babel to convert down to anything. 7 u/mattmahn Apr 22 '20 But there's likely going to be future ES features that they'll need Babel for early access
6
[removed] — view removed comment
20 u/ShortFuse Apr 21 '20 Because if NodeJS can natively support ES2020, then you don't need Babel to convert down to anything. 7 u/mattmahn Apr 22 '20 But there's likely going to be future ES features that they'll need Babel for early access
20
Because if NodeJS can natively support ES2020, then you don't need Babel to convert down to anything.
7 u/mattmahn Apr 22 '20 But there's likely going to be future ES features that they'll need Babel for early access
7
But there's likely going to be future ES features that they'll need Babel for early access
140
u/mastermind202 Apr 21 '20
Looks like we finally get optional chaining and null coalescing!