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