my-idlers/node_modules/es5-ext/test/array/#/_compare-by-length.js
cp6 fd22b0bf58 V2 (Laravel re-make)
V2 (Laravel re-make)
2022-03-06 02:02:12 +11:00

8 lines
198 B
JavaScript

"use strict";
module.exports = function (t, a) {
var arr = [4, 5, 6], obj1 = { length: 8 }, obj2 = {}, obj3 = { length: 1 };
a.deep([arr, obj1, obj2, obj3].sort(t), [obj2, obj3, arr, obj1]);
};