Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript curtocircuito

console.log(false && 1);//imprime falseconsole.log(0 && 1); // imprime 0console.log(false || 1); // imprime 1console.log(0 || 1 ); // imprime 1
Source by medium.com #
 
PREVIOUS NEXT
Tagged: #javascript #curtocircuito
ADD COMMENT
Topic
Name
1+5 =