How to solve the total task on "return true to win" in 21 chars There is a site called "Return True to Win" with interesting tasks for Javascript programmers. The goal is to find arguments to a given function that force it to return true.

The following is one of the tasks:

function total(x) {
  return (x &lt; x) &amp;&amp; (x == x) &amp;&amp; (x &gt; x);
}


The users must find snippets for the value of x that cause the function to return true. To test snippets, you call the function with your snippet as the parameter (i.e. total(&lt;snippet&gt;)).

I found a 22-character solution:

{valueOf:_=&gt;n++%3},n=0


Some people found the solution in 21 chars. I can't find out this solution. What is the solution in 21 chars?
21 chars

{valueOf:n=_=&gt;n=2&lt;&lt;n}




My original joke, which got downvoted and proposed for deletion:

11 chars :)

total=_=&gt;!0


Test:

function total(x) {
  return (x &lt; x) &amp;&amp; (x == x) &amp;&amp; (x &gt; x);
}
var arg = total=_=&gt;!0
console.log(total(arg))