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.
2 parents b39a4fa + 342aff3 commit ffb30e5Copy full SHA for ffb30e5
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