Skip to content

Instantly share code, notes, and snippets.

@radzionc
Created August 18, 2017 21:11
Show Gist options
  • Save radzionc/26b6819ab457e16a9f019a01c0c76365 to your computer and use it in GitHub Desktop.
Save radzionc/26b6819ab457e16a9f019a01c0c76365 to your computer and use it in GitHub Desktop.
const Dog = (age, name) => ({
age,
name,
talk: function() {
...
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment