mirror of
https://github.com/tc39/test262.git
synced 2025-07-27 07:54:41 +02:00
Fixup: Add object coercible tests for trim(start/End)
This commit is contained in:
parent
2905e6a293
commit
fdf8e8bd3f
@ -2,10 +2,11 @@
|
|||||||
// 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.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: pending
|
esid: sec-string.prototype.trimEnd
|
||||||
description: The "this" value must be object-coercible
|
description: The "this" value must be object-coercible
|
||||||
info: |
|
info: |
|
||||||
1. Let O be ? RequireObjectCoercible(this value).
|
1. Let O be ? RequireObjectCoercible(this value).
|
||||||
|
features: [string-trimming]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var trimEnd = String.prototype.trimEnd;
|
var trimEnd = String.prototype.trimEnd;
|
||||||
|
@ -2,10 +2,11 @@
|
|||||||
// 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.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: pending
|
esid: sec-string.prototype.trimStart
|
||||||
description: The "this" value must be object-coercible
|
description: The "this" value must be object-coercible
|
||||||
info: |
|
info: |
|
||||||
1. Let O be ? RequireObjectCoercible(this value).
|
1. Let O be ? RequireObjectCoercible(this value).
|
||||||
|
features: [string-trimming]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var trimStart = String.prototype.trimStart;
|
var trimStart = String.prototype.trimStart;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user