js -1 true or false code example
Example: true + true javascript
//booleans are converted to numbers before addition takes place
console.log(true + true); // 2
//booleans are converted to numbers before addition takes place
console.log(true + true); // 2