JSFiddle - React, Tailwind, and code Playground
by LyndseyB
JavaScript
const myObject = {
id: 1
};
const mySecondObject = Object.create(myObject);
mySecondObject.name = "Lyndsey";
console.log(mySecondObject);
by LyndseyB
const myObject = {
id: 1
};
const mySecondObject = Object.create(myObject);
mySecondObject.name = "Lyndsey";
console.log(mySecondObject);