title: How to combine two keys of object
body: <p>I have this array of object this.jobHistoryData</p>
  <pre><code>[
      {
          &quot;jobName&quot;: &quot;ABC&quot;,
          &quot;jobCode&quot;: &quot;J2&quot;,
          &quot;message&quot;: &quot;Failed&quot;,
          &quot;totalTime&quot;: 20
      },
      {
          &quot;jobName&quot;: &quot;XYZ&quot;,
          &quot;jobCode&quot;: &quot;J1&quot;,
          &quot;message&quot;: &quot;Failed&quot;,
          &quot;totalTime&quot;: 20
      }
  ]
  </code></pre>
  <p>I want to make one more key which is combination of <code>&quot;jobName&quot;</code> and <code>&quot;jobCode&quot;</code>
  Means I want to get result like this:</p>
  <pre><code>[
      {
          &quot;jobName&quot;: &quot;ABC&quot;,
          &quot;jobCode&quot;: &quot;J2&quot;,
          &quot;message&quot;: &quot;Failed&quot;,
          &quot;totalTime&quot;: 20,
          &quot;job&quot;: &quot;J2-ABC&quot;
      },
      {
          &quot;jobName&quot;: &quot;XYZ&quot;,
          &quot;jobCode&quot;: &quot;J1&quot;,
          &quot;message&quot;: &quot;Failed&quot;,
          &quot;totalTime&quot;: 20,
          &quot;job&quot;: &quot;J1-XYZ&quot;
      }
  ]
  </code></pre>
  <p>Is there any way to do it?</p>