Skip to content

Instantly share code, notes, and snippets.

@arbales
Created October 26, 2011 00:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arbales/1314992 to your computer and use it in GitHub Desktop.
Save arbales/1314992 to your computer and use it in GitHub Desktop.
_.mixin
rejectKeys: (obj, keys) ->
result = {}
for key, val of obj
if not (key in keys)
result[key] = val
result
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment