Pass to method object values as arguments [duplicate]

You can use the spreading operator to spread the values:

someFunct(...Object.values(Obj));

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top