blob: 2e31ea7f665033588346620d86cdb8af96f86d3c [file] [log] [blame]
// This file was procedurally generated from the following sources:
// - src/identifier-names/instanceof-escaped.case
// - src/identifier-names/default/member-expr.template
/*---
description: instanceof is a valid identifier name, using escape (MemberExpression IdentifierName)
esid: prod-PropertyDefinition
flags: [generated]
info: |
MemberExpression:
...
MemberExpression . IdentifierName
Reserved Words
A reserved word is an IdentifierName that cannot be used as an Identifier.
---*/
var obj = {};
obj.\u0069nstanceof = 42;
assert.sameValue(obj['instanceof'], 42, 'property exists');