diff --git a/snippets.js b/snippets.js index 3967c0a..f0b572a 100644 --- a/snippets.js +++ b/snippets.js @@ -15,6 +15,18 @@ Array.prototype.collect = function(fun) { } }; +Array.prototype.include = function(value) { + var includes = false; + for(var i=0;i