Skip to content

Instantly share code, notes, and snippets.

@yeco
Created March 11, 2010 17:12
Show Gist options
  • Select an option

  • Save yeco/329363 to your computer and use it in GitHub Desktop.

Select an option

Save yeco/329363 to your computer and use it in GitHub Desktop.
function eliminarDuplicados(object, key) {
var _object = {};
for (var _key in object) {
if (_key != key) {
_object[_key] = object[_key];
}
}
return _object;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment