How to check the type of object or variable in JavaScript?

How to check the type of object or variable in JavaScript?

More to explore

Based on this image's title: “How to check the type of object or variable in JavaScript?