how do i receive back number from boolean js code example Example: javascript cast bool to int + true; // 1 + false; // 0