What does the following code evaluate to?
Answer
It evaluates to "string"
.
typeof 0
evaluates to the string "number"
and therefore typeof "number"
evaluates to "string"
.
Good to hear
Additional links
Previousvirtual DOM and why is it used in libraries/frameworks?NextWhat is the this keyword and how does it work?
Last updated