throw SyntaxError as per spec