3 ms·
This coerces to a number, but not to an integer.
by jacobolus 7y ago
This coerces to a number, but not to an integer.
- reaktivo 7y agoI would hate to see it in code that is being shared in a team, but the following works: ['1', '7', '11'].map(x => ~~x)