I have an array and an object like in the picture, the problem I need to optimize the code is so I want to consult everyone’s method because I searched all over google and there are no results I need.
I hope someone can help me with the optimization problem ^^ ! Thanks Everyone