case-insensitive-compare.js 181 B

1234567
  1. 'use strict';
  2. module.exports = function (t, a) {
  3. a(t.call("AA", "aa"), 0, "Same");
  4. a.ok(t.call("Amber", "zebra") < 0, "Less");
  5. a.ok(t.call("Zebra", "amber") > 0, "Greater");
  6. };