JSFiddle - React, Tailwind, and code Playground
JavaScript
let firstArray = [1, 2, 3, 4, 5];
let secondArray = [6, 7, 8, 9, 10];
let sum = firstArray + secondArray;
for (let i = sum [4]; i < sum.length; i++) {
delete firstArray[i];
}
let result = console.log(console.log()) === firstArray[5];
alert(+result + firstArray.length + secondArray.length + sum.length);