What's the result of OR?
importance: 5
What is the code below going to output?
alert( null || 2 || undefined );
The answer is 2
, that’s the first truthy value.
alert( null || 2 || undefined );
What is the code below going to output?
alert( null || 2 || undefined );
The answer is 2
, that’s the first truthy value.
alert( null || 2 || undefined );