Re:The secret life of NaN
by scarmig on Thursday April 05, 2018 @06:46PM
(#16769467)
You'd be relying on undefined behavior by the ECMAScript spec, but sure. Whether it works is implementation dependent, and you'd have no grounds for complaint if it changed at any time.
Playing around with it in Chrome 65.0.*...