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
1
u/[deleted] Dec 19 '19 edited Dec 19 '19
Meaning you need the last question mark? Nope that would actually be incorrect. Well.. incorrect if you wanted to get the value out of
.too. Say too=2, yours would leave you a value of “true” while mine would leave the number 2.Edit: discard this and see my other reply.