What does the following code evaluate to?
typeof typeof 0Answer
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
Was this helpful?