mirror of
https://github.com/tc39/test262.git
synced 2025-07-24 22:45:10 +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.
|
||||
|
||||
/*---
|
||||
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…
x
Reference in New Issue
Block a user