init
This commit is contained in:
7
node_modules/es5-ext/test/array/#/_compare-by-length.js
generated
vendored
Normal file
7
node_modules/es5-ext/test/array/#/_compare-by-length.js
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
"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]);
|
||||
};
|
Reference in New Issue
Block a user