Tests whether this object has the specified property as a direct property.
Tests whether this object has the specified property as a direct property.
Unlike js.Object.hasProperty, this method does not check down the object's prototype chain.
MDN
Tests whether this object is in the prototype chain of another object.
Tests whether this object is in the prototype chain of another object.
Tests whether the specified property in an object can be enumerated by a call to js.Object.properties, with the exception of properties inherited through the prototype chain.
Tests whether the specified property in an object can be enumerated by a call to js.Object.properties, with the exception of properties inherited through the prototype chain. If the object does not have the specified property, this method returns false.
MDN
(syntaxError: StringAdd).self
(syntaxError: StringFormat).self
(syntaxError: ArrowAssoc[SyntaxError]).x
(Since version 2.10.0) Use leftOfArrow
instead
(syntaxError: Ensuring[SyntaxError]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
Represents an error when trying to interpret syntactically invalid code.
A SyntaxError is thrown when the JavaScript engine encounters tokens or token order that does not conform to the syntax of the language when parsing code.
MDN