wishthis/node_modules/es5-ext/test/string/#/case-insensitive-compare.js
2022-01-21 09:28:41 +01:00

7 lines
181 B
JavaScript

"use strict";
module.exports = function (t, a) {
a(t.call("AA", "aa"), 0, "Same");
a.ok(t.call("Amber", "zebra") < 0, "Less");
a.ok(t.call("Zebra", "amber") > 0, "Greater");
};