Last active
February 8, 2018 18:01
-
-
Save kiramishima/dcafe3004507fd4ae6621040708ded09 to your computer and use it in GitHub Desktop.
Ejercicio propuesto en Eventloop (uff casi escribí chelajs XD)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const a = { | |
i: 1, | |
toString: function () { | |
return a.i++; | |
} | |
} | |
console.log(a == 1 && a == 2 && a == 3) // true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment