Skip to content

Instantly share code, notes, and snippets.

@sjmiles
Created June 19, 2013 21:36
Show Gist options
  • Save sjmiles/5818335 to your computer and use it in GitHub Desktop.
Save sjmiles/5818335 to your computer and use it in GitHub Desktop.
> object
Object {touch-action: "none"}
> Object.getOwnPropertyDescriptor(object, 'touch-action')
Object {value: "none", writable: true, enumerable: true, configurable: true}
> o = Object.create(object)
Object {} <-- where's my proto?
> Object.create({'touch-action': 'none'})
Object {touch-action: "none"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment