1const num = 6;
2if (num <= 7 && num <= 8) {
3 console.log('true')
4} else {
5 console.log('false')
6}
7//Expected output:true
1const num = 6;
2if (num <= 4 || num <= 8) {
3 console.log('true')
4} else {
5 console.log('false')
6}
7//Expected output:true