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);
URL: http://javascript.info/task/alert-1-null-2
/favicon/favicon.png">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);