Front end of the Slack clone application.

_compare-by-length.js 198B

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