News for hackers. Stuff that matters.
Re:Can (a ==1 && a== 2 && a==3) ever evaluate to true? by idbehold on Tuesday January 16, 2018 @02:25PM (#16161374)
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.
Re:Can (a ==1 && a== 2 && a==3) ever evaluate to true? by Zirro on Tuesday January 16, 2018 @05:39PM (#16163432)
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.