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

8 lines
181 B
JavaScript
Raw Normal View History

2022-04-25 02:47:15 +00:00
"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");
};