var filter = function(array, fn) {
var result = [];
arr.forEach(function(){
if(fn(element)){
result.push(element);
}
});
return result;
}
var isEven = function (x) {return x % 2 === 0}
Important Concepts
Mozilla Development Document
-window object document === window.document
$().on('click',functino){ }
-Cheat Sheet overapi.com/jquery