Outline

The instanceof operator returns true or false, based on whether or not the variable is of a certain type. It is meant for use on objects and classes, but not primitive types like string or number.

Using instanceof on an instance of a class will return true for both the class and object.

 

I finished! On to the next chapter