Answers for "js map add property"

0

js map add property

array.map(x => ({
    ...x,
    c: Number(x.a) - Number(x.b)
}))
Posted by: Guest on October-29-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language