Software dev at Netflix | DC techie | Conference speaker | egghead Instructor | TC39 Educators Committee | Girls Who Code Facilitator | Board game geek | @laurieontech on twitter
I also didn't know you could use it on arrays and functions which opens up a whole new world... I don't know how many times I've checked an array to exist and have length before using .map() 😆😅
What do you need to enable it? Just some Babel stuff?
Nullish too?
Ya, right now the only way to get the features is Babel. It will be in node soon, but no official announced date.
Wicked cool!
I also didn't know you could use it on arrays and functions which opens up a whole new world... I don't know how many times I've checked an array to exist and have length before using .map() 😆😅
If you're a fan of react it's now part of react scripts 3.3. And in the latest version of vs code it's supported