I find it quite surprising that the code below, when entered into the Chrome JavaScript console:
{} instanceof Object
leads to the error message displayed below:
Uncaught SyntaxError: Unexpected token instanceof
Could someone kindly explain why this occurs and provide a solution?