Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • \$\begingroup\$ @ajax333221 void 0 (it isn't a function, but a keyword) is not a value, it simply returns undefined. \$\endgroup\$ Commented Dec 18, 2012 at 12:07
  • \$\begingroup\$ @CamiloMartin you are right, also I now see the point in this answer, however a must be either 1 or 0 for it to work \$\endgroup\$
    – ajax333221
    Commented Dec 18, 2012 at 16:30
  • \$\begingroup\$ @ajax333221 Yes, actually the funny thing about code golfing to me is that most of the best tricks only work for that particular thing you're doing, and one feels so clever to find one of these corner cases with corner solutions :D By the way, you don't have to delete comments... \$\endgroup\$ Commented Dec 19, 2012 at 2:07