SyntaxFix
Write A Post
Hire A Developer
Questions
extend = function(destination, source) { for (var property in source) { destination[property] = source[property]; } return destination; };
Extending JavaScript
You could also add filters into the for loop.