summaryrefslogtreecommitdiff
path: root/node_modules/locutus/php/strings/strcmp.js
diff options
context:
space:
mode:
authorMarvin Borner2018-11-07 22:10:16 +0100
committerMarvin Borner2018-11-07 22:10:17 +0100
commit954583f3d56fbfb60321725f13ad092e536e3737 (patch)
treea0505a763797582c61fd8c2f90b422456d8874c9 /node_modules/locutus/php/strings/strcmp.js
parent1c355e6e956a4e507ed5436d0c814ba9c3a1deb2 (diff)
Removed node_modules
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