Skip to content

Instantly share code, notes, and snippets.

@marekpiechut
Created August 18, 2017 10:11
Show Gist options
  • Save marekpiechut/2c0f41704f5a75cd06f975ac423ca2c8 to your computer and use it in GitHub Desktop.
Save marekpiechut/2c0f41704f5a75cd06f975ac423ca2c8 to your computer and use it in GitHub Desktop.
Benchmark object customizer
return Object.create(baseObejct, {
name: {
writable: true,
value: "Magic Object",
},
magic: {
writable: true,
value: 32,
},
val: {
writable: true,
value: startVal,
},
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment