Enable strict mode testing for sm/Function/function-name-computed

This commit is contained in:
André Bargull 2025-04-30 14:16:30 +02:00 committed by Philip Chimento
parent be5edf06c9
commit 8f259600e2
2 changed files with 2 additions and 6 deletions

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file. // This code is governed by the BSD license found in the LICENSE file.
/*--- /*---
flags:
- noStrict
description: | description: |
pending pending
esid: pending esid: pending
@ -49,7 +47,7 @@ let dummy = class {
set ["setter"](x) {} set ["setter"](x) {}
}; };
dum = new dummy(); let dum = new dummy();
assert.sameValue(dum.func.name, "func"); assert.sameValue(dum.func.name, "func");
assert.sameValue(dum.genFunc.name, "genFunc"); assert.sameValue(dum.genFunc.name, "genFunc");

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file. // This code is governed by the BSD license found in the LICENSE file.
/*--- /*---
flags:
- noStrict
description: | description: |
pending pending
esid: pending esid: pending
@ -48,7 +46,7 @@ let dummy = class {
set [12](x) {} set [12](x) {}
}; };
dum = new dummy(); let dum = new dummy();
assert.sameValue(dum[1].name, "1"); assert.sameValue(dum[1].name, "1");
assert.sameValue(dum[2].name, "2"); assert.sameValue(dum[2].name, "2");