What will be the output of the following JavaScript code?
let x = "10"; let y = + x; document.write(typeof y);
string
object
undefined
number
Correct Answer : D
var declares a block-scoped variable
const declares a block-scoped variable
let declares a block-scoped variable