mirror of https://github.com/tc39/test262.git
add esid to array/prototype/find tests (#1104)
This commit is contained in:
parent
f395b67d29
commit
82e53e14c3
|
@ -1,6 +1,7 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype.find
|
||||
es6id: 22.1.3.8
|
||||
description: >
|
||||
The range of elements processed is set before the first call to `predicate`.
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype.find
|
||||
es6id: 22.1.3.8
|
||||
description: Array.prototype.find.length value and descriptor.
|
||||
info: >
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype.find
|
||||
es6id: 22.1.3.8
|
||||
description: >
|
||||
Array.prototype.find.name value and descriptor.
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype.find
|
||||
es6id: 22.1.3.8
|
||||
description: >
|
||||
Predicate called as F.call( thisArg, kValue, k, O ) for each array entry.
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype.find
|
||||
es6id: 22.1.3.8
|
||||
description: >
|
||||
Predicate thisArg as F.call( thisArg, kValue, k, O ) for each array entry.
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype.find
|
||||
es6id: 22.1.3.8
|
||||
description: >
|
||||
Predicate thisArg as F.call( thisArg, kValue, k, O ) for each array entry.
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype.find
|
||||
es6id: 22.1.3.8
|
||||
description: >
|
||||
Predicate is called for each array property.
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype.find
|
||||
es6id: 22.1.3.8
|
||||
description: >
|
||||
Throws a TypeError exception if predicate is not callable.
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype.find
|
||||
es6id: 22.1.3.8
|
||||
description: >
|
||||
Predicate is only called if this.length is > 0.
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype.find
|
||||
es6id: 22.1.3.8
|
||||
description: Property type and descriptor.
|
||||
info: >
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype.find
|
||||
es6id: 22.1.3.8
|
||||
description: >
|
||||
Return abrupt from predicate call.
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype.find
|
||||
es6id: 22.1.3.8
|
||||
description: >
|
||||
Returns abrupt from getting property value from `this`.
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype.find
|
||||
es6id: 22.1.3.8
|
||||
description: >
|
||||
Return abrupt from ToLength(Get(O, "length")) where length is a Symbol.
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype.find
|
||||
es6id: 22.1.3.8
|
||||
description: >
|
||||
Return abrupt from ToLength(Get(O, "length")).
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype.find
|
||||
es6id: 22.1.3.8
|
||||
description: >
|
||||
Return abrupt from ToObject(this value).
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype.find
|
||||
es6id: 22.1.3.8
|
||||
description: >
|
||||
Return found value if predicate return a boolean true value.
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype.find
|
||||
es6id: 22.1.3.8
|
||||
description: >
|
||||
Return undefined if predicate always returns a boolean false value.
|
||||
|
|
Loading…
Reference in New Issue