blob: 08aaee07a0e58254a92d8791b35fcdc76f5d5fcf [file] [log] [blame]
// This file was procedurally generated from the following sources:
// - src/identifier-names/extends-escaped-ext.case
// - src/identifier-names/default/member-expr.template
/*---
description: extends is a valid identifier name, using extended 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.\u{65}xtends = 42;
assert.sameValue(obj['extends'], 42, 'property exists');