JavaScript : Using spread operator to update an object value

Published --