Resources I've read
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/create
I have a simple script
const defaults = {
allowInputStyleChange: true
};
var entry = Object.create(defaults);
console.log(JSON.stringify(defaults));
console.log(JSON.stringify(entry));
This results in
{"allowInputStyleChange":true}
{}
I was expecting
{"allowInputStyleChange":true}
{"allowInputStyleChange":true}
Am I understanding how to implement it wrong?