MV Solved. How to change multiple properties of an object at once in Js?

Solved. If anyone had the same question as me i found it here:

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/solved-how-to-change-multiple-properties-of-an-object-at-once-in-js.128957/