Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How did you solve the reflexive? I'm not getting at anything :(


NaN != NaN. It's how you're supposed to test for NaN, apparently.


Or use isNaN


I'll give you one chance to guess how isNaN is implemented. https://github.com/v8/v8/blob/e6d1a80e790117dc27b20e9b14de4b...


Yeah, tricky one. NaN works though. Because NaN == NaN = false


Another version, also 3 characters: 0/0


Infinity - Infinity


reflexive( function() {return ++window.x;}() )


I don't think so


I broke things to do it

[] - {}


`NaN`




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: