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