Partie-2/node_modules/es5-ext/test/string/#/case-insensitive-compare.js
Simon Priet 9e2991e668 init
2021-09-05 22:53:58 +02:00

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