GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

No menu could be recovered. Follow the blue links in the page.

This view

  • Original page
  • New address

GeezerVison is showing javascript.info — What is the result of AND?

  • Tutorial
  • The JavaScript language
  • JavaScript Fundamentals
  • Logical operators
back to the lesson

What is the result of AND?

importance: 5

What is this code going to show?

alert( 1 && null && 2 );

The answer: null, because it’s the first falsy value from the list.

alert(1 && null && 2);
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.