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

Function TestArraySortingWithUndefined

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

Source from the content-addressed store, hash-verified

92
93// Test array sorting with undefined elemeents in the array.
94function TestArraySortingWithUndefined() {
95 var a = [ 3, void 0, 2 ];
96 a.sort();
97 assertArrayEquals([ 2, 3, void 0 ], a);
98}
99
100TestArraySortingWithUndefined();
101

Callers 1

array-sort.jsFile · 0.85

Calls 2

assertArrayEqualsFunction · 0.85
sortMethod · 0.80

Tested by

no test coverage detected