Similarly to passing an object argument, you can return an object.
Then pair it with destructuring assignment!
`const { fullName } = getName({ firstName, lastName )}`
Then pair it with destructuring assignment!
`const { fullName } = getName({ firstName, lastName )}`
No comments yet.