We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 405f442 commit 3689d81Copy full SHA for 3689d81
lib/helper/utils/string.jsx
@@ -8,7 +8,7 @@
8
* @returns {Boolean} true if the string contains the char passed as parameter
9
*/
10
String.prototype.contains = function (string) {
11
- return this.indexOf(string) != -1
+ return this.indexOf(string) !== -1;
12
}
13
14
/**
0 commit comments