summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/annexB/built-ins/String/prototype/trimRight/reference-trimEnd.js
blob: 23a375af1520d1b6bd38166a434250933450bece (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// 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);

reportCompare(0, 0);