summaryrefslogtreecommitdiff
path: root/tools/eslint/node_modules/escope/node_modules/es6-weak-map/node_modules/es5-ext/test/array/#/_compare-by-length.js
blob: e40c305b98fe685996b0dff4b9f1a14320ce03cb (plain)
1
2
3
4
5
6
7
'use strict';

module.exports = function (t, a) {
	var x = [4, 5, 6], y = { length: 8 }, w = {}, z = { length: 1 };

	a.deep([x, y, w, z].sort(t), [w, z, x, y]);
};