blob: 1f185e9322b9061daed980f6d8f9feedf10f1ea4 [file] [log] [blame]
// This file was procedurally generated from the following sources:
// - src/identifier-names/super-escaped.case
// - src/identifier-names/default/member-expr.template
/*---
description: super 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.sup\u0065r = 42;
assert.sameValue(obj['super'], 42, 'property exists');