I'm addicted to the ternary operator. For reasons I can't explain, I cannot get enough of:
The Ternary Operator <3 Destructuring
· 3 min read
I'm addicted to the ternary operator. For reasons I can't explain, I cannot get enough of:
I'm a great lover of ES2015's Map
. However, just recently I tumbled over something I find a touch inconvenient about how you initialise a new Map
from the contents of an Array
in TypeScript.