6 ms·
It's not even an issue in languages (C) that don't strongly type for performance reasons, or because you get closer hardware access as a result (though these co
by correnos 14y ago
It's not even an issue in languages (C) that don't strongly type for performance reasons, or because you get closer hardware access as a result (though these count as features themselves). The problem is that in Javascript, you don't get either of these -- there's no benefits, there are only new bug vectors. This wouldn't be as big of an issue if the default coercion behaviour was generally helpful, but it's not. It's just a pain.