Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

String.prototype.{ trimStart, trimEnd, trimLeft, trimRight } tests #1246

Closed
wants to merge 21 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixup: Add object coercible tests for trim(start/End)
  • Loading branch information
Valerie R Young authored and Valerie R Young committed Oct 4, 2017
commit e3e97f75d7c2b15f334f591d3516cddebf04d81b
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down