UNPKG

239 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3function strcmp(a, b) {
4 if (!a) {
5 a = '';
6 }
7 if (!b) {
8 b = '';
9 }
10 return +(a > b) || +(a === b) - 1;
11}
12exports.strcmp = strcmp;