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

Open your browser console and find an input that works:

   function test (a) {
     try {
       return !!(typeof a === 'undefined' && a(1) && a[2])
     } catch (e) {
       return false
     }
   }
It is possible to get it to return true.


I've found a solution which I presume is the one you have in mind, though it's worth noting that it doesn't work in Firefox at the moment.

Feel free to add a link with your answer later on, just in case you came up with something different.




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

Search: