JSFiddle - React, Tailwind, and code Playground
by btipling
JavaScript
"use strict";
var foo = {};
Object.defineProperty(foo, 'bar', { value: 'baz' });
foo.bar = "asdf";
console.log(foo.bar);
by btipling
"use strict";
var foo = {};
Object.defineProperty(foo, 'bar', { value: 'baz' });
foo.bar = "asdf";
console.log(foo.bar);