summaryrefslogtreecommitdiff
path: root/node_modules/locutus/php/strings/strcmp.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/locutus/php/strings/strcmp.js')
-rw-r--r--node_modules/locutus/php/strings/strcmp.js16
1 files changed, 0 insertions, 16 deletions
diff --git a/node_modules/locutus/php/strings/strcmp.js b/node_modules/locutus/php/strings/strcmp.js
deleted file mode 100644
index 1d58211..0000000
--- a/node_modules/locutus/php/strings/strcmp.js
+++ /dev/null
@@ -1,16 +0,0 @@
-"use strict";
-
-module.exports = function strcmp(str1, str2) {
- // discuss at: http://locutus.io/php/strcmp/
- // original by: Waldo Malqui Silva (http://waldo.malqui.info)
- // input by: Steve Hilder
- // improved by: Kevin van Zonneveld (http://kvz.io)
- // revised by: gorthaur
- // example 1: strcmp( 'waldo', 'owald' )
- // returns 1: 1
- // example 2: strcmp( 'owald', 'waldo' )
- // returns 2: -1
-
- return str1 === str2 ? 0 : str1 > str2 ? 1 : -1;
-};
-//# sourceMappingURL=strcmp.js.map \ No newline at end of file