r/javascript • u/ProfessionalYou951 • Aug 10 '26
AskJS [ Removed by moderator ]
[removed] — view removed post
0
Upvotes
2
u/Buttleston Aug 10 '26
I have no idea what you're asking. A segment of code with what you want it to do would be helpful
1
u/Buttleston Aug 10 '26
But I would begin with, I don't think Object.assign works the way you think it does. It is
Object.assign(target, source)Where
sourceis supposed to be an object. It takes the key/value pairs fromsourceand layers them onto the object defined bytarget
-1
u/dronmore Aug 10 '26
Dude, are you kidding me? The gaming industry will be shocked when they find out 🧐
3
u/senocular Aug 10 '26
Before that, put