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