Skip to content
Snippets Groups Projects
Commit 966dfb4c authored by Rick Waldron's avatar Rick Waldron
Browse files

String.prototype.trimEnd,trimStart: add feature (per new convention)

parent 2d80b92c
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,7 @@ info: |
i. Let result be ? Call(method, O).
ii. If Type(result) is not Object, return result.
6. Throw a TypeError exception.
features: [string-trimming, Symbol.toPrimitive]
features: [string-trimming, String.prototype.trimStart, Symbol.toPrimitive]
---*/
......
......@@ -11,7 +11,7 @@ info: |
ToString ( argument )
Argument Type: Symbol
Result: Throw a TypeError exception
features: [string-trimming]
features: [string-trimming, String.prototype.trimStart]
---*/
var trimStart = String.prototype.trimStart;
......
......@@ -16,7 +16,7 @@ info: |
“Zs”, code unit sequences are interpreted as UTF-16 encoded code point
sequences as specified in 6.1.4.
features: [string-trimming]
features: [string-trimming, String.prototype.trimStart]
---*/
var trimStart = String.prototype.trimStart;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment