let practice
Question 1
let x = 100;
let y = x++;
let z = ++x;
let n = x == y ? z++ : ++z;
console.log(n);
Explaination -> https://youtu.be/wC8WkNWoPPc
Question 2
const arr = [1, 2, 3, 4];
let output = arr.map(function (n) {
this ? n : 0;
}, false);
console.log(output);
Explaination -> https://youtu.be/igfL1e-_xeE