Skip to content
Snippets Groups Projects
Commit 524f545f authored by Valerie R Young's avatar Valerie R Young Committed by Rick Waldron
Browse files

Add reference tests for trimLeft and trimRight

parent 828c8031
No related branches found
No related tags found
No related merge requests found
// Copyright (C) 2017 Valerie Young. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-string.prototype.trimLeft
description: >
String.prototype.trimLeft is a reference to String.prototype.trimStart.
info: >
String.prototype.trimLeft ( )
The function object that is the initial value of String.prototype.trimLeft
is the same function object that is the initial value of
String.prototype.trimStart.
features: [string-trimming]
---*/
assert.sameValue(String.prototype.trimLeft, String.prototype.trimStart);
// Copyright (C) 2017 Valerie Young. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-string.prototype.trimRight
description: >
String.prototype.trimRight is a reference to String.prototype.trimEnd.
info: >
String.prototype.trimRight ( )
The function object that is the initial value of String.prototype.trimRight
is the same function object that is the initial value of
String.prototype.trimEnd.
features: [string-trimming]
---*/
assert.sameValue(String.prototype.trimRight, String.prototype.trimEnd);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment