{"ScriptPreparationCode":null,"TestCases":[{"Name":"Array.prototype.concat","Code":"const arr1 = [ { name: \u0027hello\u0027, id: \u00271\u0027 }, { name: \u0027hi\u0027, id: \u00272\u0027 }, { name: \u0027welcome\u0027, id: \u0027100\u0027 } ];\r\nconst arr2 = [ { name: \u0027o wow\u0027, id: \u00277\u0027 }, { name: \u0027greetings\u0027, id: \u002769\u0027 } ].concat(arr1);","IsDeferred":false},{"Name":"spread operator","Code":"const arr1 = [ { name: \u0027hello\u0027, id: \u00271\u0027 }, { name: \u0027hi\u0027, id: \u00272\u0027 }, { name: \u0027welcome\u0027, id: \u0027100\u0027 } ];\r\nconst arr2 = [ { name: \u0027o wow\u0027, id: \u00277\u0027 }, { name: \u0027greetings\u0027, id: \u002769\u0027 }, ...arr1 ];","IsDeferred":false},{"Name":"Push","Code":"const arr1 = [ { name: \u0027hello\u0027, id: \u00271\u0027 }, { name: \u0027hi\u0027, id: \u00272\u0027 }, { name: \u0027welcome\u0027, id: \u0027100\u0027 } ];\r\nconst arr2 = arr1.slice();\r\narr2.push(1);\r\narr2.push(2);","IsDeferred":false}]}