JSFiddle - React, Tailwind, and code Playground
by RomainMazB
JavaScript
let first = {age: 25, name: 'Romain'}
let second = {age: null, name: 'Sarah'}
let final = {...first, ...second}
console.log(final);
by RomainMazB
let first = {age: 25, name: 'Romain'}
let second = {age: null, name: 'Sarah'}
let final = {...first, ...second}
console.log(final);