summaryrefslogtreecommitdiff
path: root/test/built-ins/String/prototype/trim/15.5.4.20-2-33.js
blob: 434b02015e57b4e79ef5a637f3edc24f5baa78e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright (c) 2012 Ecma International.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
es5id: 15.5.4.20-2-33
description: String.prototype.trim - argument 'this' is a string(value is '1')
includes: [runTestCase.js]
---*/

function testcase() {
        return String.prototype.trim.call("1") === "1";
    }
runTestCase(testcase);