Re:JavaScript ( (__ = $ + $)[+$] + ({} + $)[_/_] +({} + $)[_...
by michaelty on Friday January 21, 2011 @11:12PM
(#2129884)
I wonder if you could use this in an interview...
[ Parent
| on HN ]
Re:JavaScript ( (__ = $ + $)[+$] + ({} + $)[_/_] +({} + $)[_...
by weixiyen on Friday January 21, 2011 @11:52PM
(#2129957)
This is great idea, if your goal is to not hire anyone.
Re:JavaScript ( (__ = $ + $)[+$] + ({} + $)[_/_] +({} + $)[_...
by bl4k on Friday January 21, 2011 @11:56PM
(#2129963)
except HN readers
Re:JavaScript ( (__ = $ + $)[+$] + ({} + $)[_/_] +({} + $)[_...
by gokhan on Saturday January 22, 2011 @02:14AM
(#2130124)
How many of them can understand this?
Re:JavaScript ( (__ = $ + $)[+$] + ({} + $)[_/_] +({} + $)[_...
by jonursenbach on Saturday January 22, 2011 @12:58PM
(#2130708)
Before or after this article was posted?
Re:JavaScript ( (__ = $ + $)[+$] + ({} + $)[_/_] +({} + $)[_...
by gcb on Saturday January 22, 2011 @02:41AM
(#2130141)
easy. show it to him and ask "in 1 to 5, how does that code look like the code you ship to production currently".
any answer other than "Zero" or "wtf-look", do not hire.
Re:JavaScript ( (__ = $ + $)[+$] + ({} + $)[_/_] +({} + $)[_...
by Natsu on Saturday January 22, 2011 @02:27PM
(#2130855)
> any answer other than "Zero" or "wtf-look", do not hire.
What if you're hiring someone to test for XSS exploits?
Re:JavaScript ( (__ = $ + $)[+$] + ({} + $)[_/_] +({} + $)[_...
by MichaelApproved on Saturday January 22, 2011 @04:57PM
(#2131177)
Testing for XSS exploits isn't production code so the answer should still be zero.