Question 13
Question
Answer
let myVariable = null; // We intentionally assigned 'nothing' to myVariable
let anotherVariable; // anotherVariable is now 'undefined' because we declared it but didn't assign a value console.log(anotherVariable); // Output: undefined
console.log(Math.sqrt(-1)); // Output: NaN
Last updated