summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/annexB/built-ins/String/prototype/trimLeft/reference-trimStart.js
blob: d9c709aff1e9aa337ba049b6a69c6fc818a38a55 (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.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);

reportCompare(0, 0);