Q. What will be the output of the below code ?
Code:var package;
console.log("Package: " + package)
console.log("Amount: " + amount);
β
Correct Answer: (A)
Package: undefined; An ReferenceError is thrown saying amount is not defined;