mirror of https://github.com/tc39/test262.git
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.
|
||||
|
||||
/*---
|
||||
esid: pending
|
||||
esid: sec-string.prototype.trimEnd
|
||||
description: The "this" value must be object-coercible
|
||||
info: |
|
||||
1. Let O be ? RequireObjectCoercible(this value).
|
||||
features: [string-trimming]
|
||||
---*/
|
||||
|
||||
var trimEnd = String.prototype.trimEnd;
|
||||
|
|
|
@ -2,10 +2,11 @@
|
|||
// 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
|
||||
info: |
|
||||
1. Let O be ? RequireObjectCoercible(this value).
|
||||
features: [string-trimming]
|
||||
---*/
|
||||
|
||||
var trimStart = String.prototype.trimStart;
|
||||
|
|
Loading…
Reference in New Issue