This is a trap.

  • 31
    How is this a trap, it's clearly a string
    The quotes kind of give it away?
  • 5
    @RememberMe Thats why it is a trap man. Youve been programming way too long haha
  • 2
    $ typeof <code>"False"</code>
  • 18
    In JavaScript, it is a string, a Boolean and a number 😂😂
  • 1
    Fucking python 😂😂!
  • 3
    @trickory well, fair enough, but this is kind of seriously basic.
    Apologies to OP if he's just started.
  • 2
    this is a trap for beginners aimed at testing/teaching them noticing details that are usually irrelevant but in programming very significant.
    same as, for example, the difference between:
  • 1
    haha RIP to anyone who's ever done OCA / OCP Java exams. This post is literally your life preparing for the exam
Your Job Suck?
Get a Better Job
Add Comment