Sign in
apache
/
camel-website
/
62a7fc553044b4703dc33aae4683dca1f68af9d5
/
.
/
antora-ui-camel
/
.yarn
/
unplugged
/
es5-ext-npm-0.10.64-c30cdc3d60
/
node_modules
/
es5-ext
/
array
/
#
/
_compare-by-length.js
blob: db5a0400254c68eb45eca3a033443c13b4ef08a2 [
file
] [
log
] [
blame
]
// Used internally to sort array of lists by length
"use strict"
;
var
toPosInt
=
require
(
"../../number/to-pos-integer"
);
module
.
exports
=
function
(
arr1
,
arr2
)
{
return
toPosInt
(
arr1
.
length
)
-
toPosInt
(
arr2
.
length
);
};