OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:trimLeft
(Results
1 - 3
of
3
) sorted by null
/external/chromium_org/v8/test/mjsunit/third_party/
string-trim.js
34
// References to trim(),
trimLeft
() and trimRight() functions for
38
var
trimLeft
= String.prototype.
trimLeft
;
74
assertEquals(whitespace[i].s.
trimLeft
(), '');
84
assertEquals(wsString.
trimLeft
(), '');
88
assertEquals(trimString.
trimLeft
(), leftTrimString);
92
assertEquals(leftTrimString.
trimLeft
(), leftTrimString);
96
assertEquals(rightTrimString.
trimLeft
(), testString);
105
assertEquals(
trimLeft
.call(testValues[i]), String(testValues[i]));
/external/chromium_org/v8/test/webkit/
string-trim.js
24
description("This test checks String.trim(), String.
trimLeft
() and String.trimRight() methods.");
26
//references to trim(),
trimLeft
() and trimRight() functions for testing Function's *.call() and *.apply() methods
28
var
trimLeft
= String.prototype.
trimLeft
;
64
shouldBe("whitespace["+i+"].s.
trimLeft
()", "''");
74
shouldBe("wsString.
trimLeft
()", "''");
78
shouldBe("trimString.
trimLeft
()", "leftTrimString");
82
shouldBe("leftTrimString.
trimLeft
()", "leftTrimString");
86
shouldBe("rightTrimString.
trimLeft
()", "testString");
92
shouldBe("
trimLeft
.call("+testValues[i]+")", "'"+eval(testValues[i])+"'")
[
all
...]
/external/v8/test/mjsunit/third_party/
string-trim.js
34
// References to trim(),
trimLeft
() and trimRight() functions for
38
var
trimLeft
= String.prototype.
trimLeft
;
74
assertEquals(whitespace[i].s.
trimLeft
(), '');
84
assertEquals(wsString.
trimLeft
(), '');
88
assertEquals(trimString.
trimLeft
(), leftTrimString);
92
assertEquals(leftTrimString.
trimLeft
(), leftTrimString);
96
assertEquals(rightTrimString.
trimLeft
(), testString);
105
assertEquals(
trimLeft
.call(testValues[i]), String(testValues[i]));
Completed in 124 milliseconds