Question
Consider the following code snippetconsole.log(p)If p is not defined, what would be the result or type of error?
Answer: Option C
Was this answer helpful ?
In the above code snippet, p is not defined. Hence, it gives a ReferenceError.
Was this answer helpful ?
Submit Solution