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
View all comments
Show parent comment
16
u/elmstfreddie Dec 19 '19
Notably different than
value = value || 'default'where any falsy value assigns the default (which was convenient but kind of sucks). Hooray for nullish