Re:Two Things About Conditionals in JavaScript
by modeless on Monday December 10, 2012 @10:25PM
(#4902882)
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').
[ Parent
| on HN ]
There are no comments on this comment yet.