MCPcopy Index your code
hub / github.com/nodejs/node / TestStringSort

Function TestStringSort

deps/v8/test/mjsunit/array-sort.js:58–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56
57// Test lexicographical string sorting.
58function TestStringSort() {
59 var a = [ "cc", "c", "aa", "a", "bb", "b", "ab", "ac" ];
60 a.sort();
61 assertArrayEquals([ "a", "aa", "ab", "ac", "b", "bb", "c", "cc" ], a);
62}
63
64TestStringSort();
65

Callers 1

array-sort.jsFile · 0.85

Calls 2

assertArrayEqualsFunction · 0.85
sortMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…