4 ms·
The last refactoring is not equivalent to the previous versions. The behavior of the function is changed when it is passed a non-number like an object reference
by modeless 14y ago
The last refactoring is not equivalent to the previous versions. The behavior of the function is changed when it is passed a non-number like an object reference or NaN (before it would return undefined; after it returns 'big').