Skip to content

doc,test: fix inspect's sorted compare function

In V8 7.0, the array sorting algorithm was changed to Timsort, which is stable. A compare function returning only true or false (converted to 0 and 1) cannot work properly.

Merge request reports

Loading