lepu-test-platform-web/node_modules/es5-ext/test/string/#/case-insensitive-compare.js

8 lines
181 B
JavaScript
Raw Normal View History

"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");
};