Nitsan Cohen
Nov 11, 2021

--

I'd argue that destructing is better than multi parameter.

for example

function customerDetail({customerName, customerType, order}) {

...

}

--

--

Nitsan Cohen
Nitsan Cohen

Written by Nitsan Cohen

Making π˜Ύπ™€π™’π™₯π™€π™£π™šπ™£π™©-π˜Ώπ™§π™žπ™«π™šπ™£ Software a π‘πžπšπ₯𝐒𝐭𝐲 @ 𝐛𝐒𝐭.𝐝𝐞𝐯

Responses (2)