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 b39a4fa commit 342aff3Copy full SHA for 342aff3
logic.js
@@ -75,7 +75,7 @@ http://ricostacruz.com/cheatsheets/umdjs.html
75
console.log(a); return a;
76
},
77
"in": function(a, b) {
78
- if(typeof b.indexOf === "undefined") return false;
+ if(!b || typeof b.indexOf === "undefined") return false;
79
return (b.indexOf(a) !== -1);
80
81
"cat": function() {
0 commit comments