Skip to content

Instantly share code, notes, and snippets.

@liammclennan
Created June 8, 2011 10:09
Show Gist options
  • Select an option

  • Save liammclennan/1014146 to your computer and use it in GitHub Desktop.

Select an option

Save liammclennan/1014146 to your computer and use it in GitHub Desktop.
Property Inspection In CoffeeScript
Object.prototype._properties = () ->
properties = ("#{key}=#{value}" for key,value of this when typeof value isnt 'function')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment