4 ms·
Then by that principle you'd want to use !! since casting via function or constructor differs more between languages.
by debaserab2 9y ago
Then by that principle you'd want to use !! since casting via function or constructor differs more between languages.
- WalterSear 9y agoWhat it looks like in other languages is only minorly relevant to its obviousness and readability.
- debaserab2 9y agoI don't see the argument that Boolean(val) "reads easier" than !! as long as you know what !! does.