summaryrefslogtreecommitdiff
path: root/src/class-fields/computed-names.case
diff options
context:
space:
mode:
Diffstat (limited to 'src/class-fields/computed-names.case')
-rw-r--r--src/class-fields/computed-names.case11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/class-fields/computed-names.case b/src/class-fields/computed-names.case
index d0ff46c7b..318b5b5ad 100644
--- a/src/class-fields/computed-names.case
+++ b/src/class-fields/computed-names.case
@@ -22,17 +22,8 @@ features: [computed-property-names]
var x = "b";
//- fields
-static ["a"] = 39; [x] = 42; [10] = "meep"; ["not initialized"]
+[x] = 42; [10] = "meep"; ["not initialized"]
//- assertions
-assert.sameValue(Object.hasOwnProperty.call(C.prototype, "a"), false);
-assert.sameValue(Object.hasOwnProperty.call(c, "a"), false);
-
-verifyProperty(C, "a", {
- value: 39,
- enumerable: true,
- writable: true,
- configurable: true
-});
assert.sameValue(Object.hasOwnProperty.call(C.prototype, "b"), false);
assert.sameValue(Object.hasOwnProperty.call(C, "b"), false);