• Sign in
  • Sign up 
  • Welcome
  • FAQ
  • Switch to Night Mode
  • Stolen Accounts Recovery 
  • Change Account Password 
  • Vote for Witnesses 
  • Steem Proposals 
  • Developer Portal 
  • Steem Bluepaper 
  • SMT Whitepaper 
  • Steem Whitepaper 
  • Privacy Policy
  • Terms of Service
Homeby Witness Moecki
LoginSign up

Can (a== 1 && a ==2 && a==3) return true??

christopherxc (27)in #programming • 7 years ago

const a = {
 x: 1,
 toString: function () {
   return a.x++;
 }
}
if (a == 1 && a == 2 && a == 3) {
 console.log('Hello World!');
}

#code #javascript
7 years ago in #programming by christopherxc (27)
$0.00
    1 vote
    • + christopherxc
    Reply 0