title: Compare id of two array, then set value equa to an array
body: <p>I have two array like this:</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>let arr1 = [
    {id: "1", icon: Images.icon.food, checkable: false, text: 'Dine-in', description: "coupon for dine in"},
    {id: "2", icon: Images.icon.delivery, checkable: false, text: 'Delivery', description: "coupon for delivery"},
    {id: "3", icon: Images.icon.collection, checkable: false, text: 'Collection', description: "coupon for collection"},
  ]
  
  let arr2 = [
    {description: "Dine in Service", id: "13", isActive: false, name: "Dine In", serviceDetail: null, serviceId: "1", slug: "dine-in"},
    {description: "Delivery Service", id: "14", isActive: true, name: "Delivery", serviceDetail: null, serviceId: "2", slug:"delivery"},
    {description: "Collection Service", id: "15", isActive: true, name: "Collection", serviceDetail: null, serviceId: "3", slug: "collection"}
  ]</code></pre>
  </div>
  </div>
  </p>
  <p>How to compare <code>id</code> of <code>arr1</code> equa to <code>serviceId</code> of <code>arr2</code>, and then set value <code>checkable</code> in <code>arr1</code> equa to <code>isActice</code> in <code>arr2</code></p>
  <p>This is result I want to be:</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>result = [
      {id: "1", icon: Images.icon.food, checkable: false, text: 'Dine-in', description: "coupon for dine in"},
      {id: "2", icon: Images.icon.delivery, checkable: true, text: 'Delivery', description: "coupon for delivery"},
      {id: "3", icon: Images.icon.collection, checkable: true, text: 'Collection', description: "coupon for collection"},
  ]</code></pre>
  </div>
  </div>
  </p>
  <p>Means <code>result</code> like <code>arr1</code> but change <code>checkable</code> equa to <code>isActive</code> of <code>arr2</code>.</p>
  <p>Thank you.</p>