• Sign in
  • Sign up 
  • Welcome
  • FAQ
  • Block Explorer 
  • Night Mode
  • Stolen Accounts Recovery 
  • Change Account Password 
  • Vote for Witnesses 
  • Hive Proposals 
  • OpenHive Chat 
  • Developer Portal 
  • Hive Whitepaper 
  • Privacy Policy
  • Terms of Service
logo
  • Posts
  • Proposals
  • Witnesses
  • Our dApps
LoginSign up

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

christopherxc (27)in #programming • 8 years ago

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

#code #javascript
8 years ago in #programming by christopherxc (27)
$0.00
    1 vote
    • christopherxc
    Reply 0
    Sort:  
  • Trending
    • Trending
    • Votes
    • Age