mirror of https://github.com/tc39/test262.git
Remove unused functions
This commit is contained in:
parent
a6834093aa
commit
8f1fb5c257
|
@ -11,8 +11,6 @@ info: |
|
|||
features: [Proxy]
|
||||
---*/
|
||||
|
||||
function Target() {}
|
||||
|
||||
var P = new Proxy(function() {
|
||||
throw new Test262Error('target should not be called');
|
||||
}, {
|
||||
|
|
|
@ -11,8 +11,6 @@ info: |
|
|||
features: [Proxy]
|
||||
---*/
|
||||
|
||||
function Target() {}
|
||||
|
||||
var P = new Proxy(function() {
|
||||
throw new Test262Error('target should not be called');
|
||||
}, {
|
||||
|
|
|
@ -11,8 +11,6 @@ info: |
|
|||
features: [Proxy, Symbol]
|
||||
---*/
|
||||
|
||||
function Target() {}
|
||||
|
||||
var P = new Proxy(function() {
|
||||
throw new Test262Error('target should not be called');
|
||||
}, {
|
||||
|
|
|
@ -21,8 +21,6 @@ info: |
|
|||
features: [BigInt]
|
||||
---*/
|
||||
|
||||
function ToString(x) { return x + ""; }
|
||||
|
||||
assert.sameValue(-1n + "", "-1");
|
||||
assert.sameValue("" + -1n, "-1");
|
||||
assert.sameValue(0n + "", "0");
|
||||
|
|
|
@ -41,7 +41,6 @@ info: |
|
|||
---*/
|
||||
var returnCount = 0;
|
||||
var unreachable = 0;
|
||||
function ReturnError() {}
|
||||
var iterable = {};
|
||||
var iterator = {
|
||||
return: function() {
|
||||
|
|
|
@ -13,9 +13,6 @@ flags: [noStrict]
|
|||
---*/
|
||||
|
||||
(function() {
|
||||
function foo(a, b) {
|
||||
return delete arguments.callee;
|
||||
}
|
||||
var d = delete arguments.callee;
|
||||
|
||||
assert.sameValue(d, true, 'd');
|
||||
|
|
|
@ -50,7 +50,6 @@ info: |
|
|||
---*/
|
||||
var returnCount = 0;
|
||||
var unreachable = 0;
|
||||
function ReturnError() {}
|
||||
var iterable = {};
|
||||
var iterator = {
|
||||
return: function() {
|
||||
|
|
Loading…
Reference in New Issue