• Monday , 25 May 2020

JavaScript Tutorial – typeof operator

Code Canyon

typeof ‘str’ = “string”
typeof true = “boolean”
typeof false = “boolean”
typeof null = “object”
typeof undefined = “undefined”
typeof 5 = “number”
typeof NaN = “number”
typeof function = “function”
typeof object = “object”

Like my Facebook page:

Recommended JavaScript Book:

Code snippets:

Original source

3d Ocean

Related Posts

Leave A Comment

You must be logged in to post a comment.