Javascript typeof operator

The typeof operator returns a string indicating the type of the unevaluated operand.(source: MDN)

  1. Numbers


2.String


3. Booleans


4.Object


5. Function


6.undefined


7.Symbol


Remember


I referred here for writing this article.

Follow Javascript JeepπŸš™ for more interesting Javascript tips.


https://gitconnected.com/learn/javascript

Leave a comment

Design a site like this with WordPress.com
Get started