Answers for "true + true javascript"

2

true + true javascript

//booleans are converted to numbers before addition takes place

console.log(true + true); // 2
Posted by: Guest on February-06-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language