JSFiddle - React, Tailwind, and code Playground

by Joe Saad

JavaScript

let p = {
  name: "Joe", 
  place: "houston", 
  age: 23
}

let q = {age: 34};

let t = Object.assign(p,q);

console.log(t)