Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var vanillaCake = Object.create(Object.prototype,
- {
- type: {
- value: 'Butter',
- enumerable: true,
- writable: true,
- configurable: true
- },
- flavor: {
- value: 'Vanilla',
- enumerable: true,
- writable: true,
- configurable: true
- }
- }
- );
- console.log(vanillaCake);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement