JSFiddle - React, Tailwind, and code Playground

by Sahin Deniz

JavaScript 1.7

let options = {
  headers: {}
}
options.form = {a:2}
options.form = {
	...options.form,
  ...{
  	test:1
  }
}

console.log(options);