blob: ba1e3b8b71c38215ea408ffdbadcc665521cc72a [file] [log] [blame]
// Copyright (C) 2014 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: 12.2.5
description: >
Computed property names for getters
---*/
var A = {
get ["a"]() {
return "A";
}
};
assert.sameValue(A.a, "A", "The value of `A.a` is `'A'`");