const array = []; for (let _i = 0; _i < array.length; _i++) { const elm = array[_i]; console.log(elm); }