mirror of
https://github.com/tc39/test262.git
synced 2025-09-26 03:28:50 +02:00
Enable strict mode testing for sm/Function/function-name-computed
This commit is contained in:
parent
be5edf06c9
commit
8f259600e2
@ -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");
|
||||||
|
@ -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");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user