What will be the output of the following JavaScript code?
let x = 10; document.write(x, " , ", toString(x));
10 , 10
10 , undefined
10 , [object Undefined]
None of the above
Correct Answer : C
var declares a block-scoped variable
const declares a block-scoped variable
let declares a block-scoped variable