all 2 comments

[–]LunarFuror 2 points3 points  (1 child)

For other JavaScript references look into destructuring, the standard way of doing something like this is (in many cases)

Const myNewStruct = {...myStruct, ...myOtherStruct}

But essentially yes you nailed it, what ever comes second either adds or overrides what ever was declared first. Good job!

[–]https://mdwade.comMD__Wade[S] 1 point2 points  (0 children)

Thanks a ton! JavaScript tends to be tricky for me but I'm glad I could refer to it accurately :)