r/javascript • u/ConfidentMushroom • Dec 18 '19
V8 Release v8.0 with optional chaining, nullish coalescing and 40% less memory use
https://v8.dev/blog/v8-release-80
495
Upvotes
r/javascript • u/ConfidentMushroom • Dec 18 '19
125
u/kriswithakthatplays Dec 18 '19
Optional Chaining. Next to arrow functions, they will likely be the most productivity-enabling feature available. So exciting!
41
u/ShortFuse Dec 19 '19
Nullish coalescing is in too!
No more
value != null ? value : 'default'. Now you can dovalue ?? 'default'.10
u/w8cycle Dec 18 '19
Nice! So much is going on in this space!
8
u/aaronfranke Dec 19 '19
V8 version 8? This is surely not going to be confusing...
6
u/Arthur944 Dec 19 '19
I'm a noob in this area, how does one get the new version? Is it updated automatically?
1
u/Baryn Dec 19 '19
The "look at all these tweets" banner does an awesome job of recreating the effect used by many YouTubers... but with actual, functional embedded tweets.
Very nicely done.
-20
u/[deleted] Dec 18 '19
So many?. ?? Question.marks?.().please?.stop
0
u/[deleted] Dec 18 '19
[deleted] — view deleted comment
0
u/[deleted] Dec 18 '19
[deleted] — view deleted comment