@chrisdziewa I usually never do either, trying to get used to it :)
Moisés Man
@moigithub
mutating the [[Prototype]] of an objectwillcauseyourcodetorunveryslowly; instead create the objectwiththecorrectinitial [[Prototype]] value using Object.create index.html:78TypeError: Object.assign is not a function
Chris Dziewa
@chrisdziewa
@moigithub huh???
lol
Moisés Man
@moigithub
not sure what that means :) didnt see any code like that @chrisdziewa
Chris Dziewa
@chrisdziewa
I mean I have an Object assign but I think it is doing what it's supposed to
Moisés Man
@moigithub
let squareStyle = Object.assign({}, backgroundStyle, { probably this ?? what if u comment out?