News for hackers. Stuff that matters.
Re:N-Params vs. Single Param by avandekleut on Thursday April 17, 2025 @07:57PM (#43723545)
Similarly to passing an object argument, you can return an object.

Then pair it with destructuring assignment!

`const { fullName } = getName({ firstName, lastName )}`

There are no comments on this comment yet.