1. CSS
  2. Flash
  3. HTML
  4. Illustrator
  5. Java
  6. JavaScript
  7. Maya
  8. Photography
  9. Photoshop
  10. PHP
  11. Ruby
  12. Ruby on Rails
  13. 3ds Max

JavaScript: Some Tricky output of Logical Operators in JavaScript

  1. Clicks today:
    0
  2. Clicks this month:
    0
  3. Overall rating:
    5.00/5

JavaScript » Basics — over 2 years ago
What do you think what will result variable will contain after evaluation of following JavaScript statement: var result = "Apple" && "Orange"; Is it true or false or Apple or Orange?

Comments

Your Comment

You must be logged in to post a comment.