title: how to concat array2 to array1 correctly with splice
body: <p>in this example i want to concat or append array2 to array1 with splice , it is return empty array but it should return all values in the two arrays</p>
  
  <p><a href="http://jsfiddle.net/Qq2aM/717/" rel="nofollow noreferrer">the example link</a> </p>
  
  <pre><code>var obj = [{"id":"36","task_name":"task1","birth_date":"2018-06-15 00:00:00","is_completed":"0"},{"id":"37","task_name":"task2","birth_date":"2018-06-15 00:00:00","is_completed":"0"},{"id":"38","task_name":"task3","birth_date":"2018-06-15 00:00:00","is_completed":"0"},{"id":"39","task_name":"task4","birth_date":"2018-06-15 00:00:00","is_completed":"0"},{"id":"40","task_name":"task5","birth_date":"2018-06-15 00:00:00","is_completed":"0"},{"id":"41","task_name":"task6","birth_date":"2018-06-15 00:00:00","is_completed":"0"},{"id":"42","task_name":"task7","birth_date":"2018-06-15 00:00:00","is_completed":"0"},{"id":"43","task_name":"task8","birth_date":"2018-06-15 00:00:00","is_completed":"0"},{"id":"44","task_name":"task9","birth_date":"2018-06-15 00:00:00","is_completed":"0"},{"id":"45","task_name":"task10","birth_date":"2018-06-15 00:00:00","is_completed":"0"}];
  
  var obj2 = [{"id":"46","task_name":"task11","birth_date":"2018-06-15 00:00:00","is_completed":"0"},{"id":"47","task_name":"task12","birth_date":"2018-06-15 00:00:00","is_completed":"0"},{"id":"48","task_name":"task13","birth_date":"2018-06-15 00:00:00","is_completed":"0"},{"id":"49","task_name":"task14","birth_date":"2018-06-15 00:00:00","is_completed":"0"},{"id":"50","task_name":"task15","birth_date":"2018-06-15 00:00:00","is_completed":"0"},{"id":"51","task_name":"task16","birth_date":"2018-06-15 00:00:00","is_completed":"0"},{"id":"52","task_name":"task17","birth_date":"2018-06-15 00:00:00","is_completed":"0"},{"id":"53","task_name":"task18","birth_date":"2018-06-15 00:00:00","is_completed":"0"},{"id":"54","task_name":"task19","birth_date":"2018-06-15 00:00:00","is_completed":"0"},{"id":"55","task_name":"task20","birth_date":"2018-06-15 00:00:00","is_completed":"0"}];
  
  
  var arr = Object.values(obj);
  var arr2 = Object.values(obj2);
  var fin = arr.splice(10,0,...arr2)
  console.log(fin );
  </code></pre>