JavaScript/Reserved words/instanceof

The instanceof keyword
The instanceof keyword returns true, if the left-hand side of the operator corresponds to the class on the right-hand side.