Posted By

sircambridge on 10/27/08


Tagged

extendObj


Versions (?)

extendObj


 / Published in: Other
 

  1. var extendObj = function(destination, source) {
  2. for (var property in source)
  3. destination[property] = source[property];
  4. return destination;
  5. };

Report this snippet  

You need to login to post a comment.