Pitrov Secondary5,121 Points
What is typeof?
at 5:00 you can see that he writes typeof and it consoled "string" What is typeof?
Antti Lylander9,664 Points
It's an operator that you can use to check the type of any object. String, number, function, object etc.
Daan Schouten14,454 Points
Typeof literally returns the type of the variable after it. So
is going to return number. It's often used in debugging or conditional statements, because it can indicate where your code is breaking or taking unexpected input.