Skip to content

Commit 3689d81

Browse files
author
bastieneichenberger
committed
typo
1 parent 405f442 commit 3689d81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/helper/utils/string.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* @returns {Boolean} true if the string contains the char passed as parameter
99
*/
1010
String.prototype.contains = function (string) {
11-
return this.indexOf(string) != -1
11+
return this.indexOf(string) !== -1;
1212
}
1313

1414
/**

0 commit comments

Comments
 (0)