Im trying to add a SetTimeOut to a loop but it fails to pause the code Im trying to insert the SetTimeOut to is:
var temp = new Array();
var l = 1;
for (var i=coreLines.length-1; i>=0; i--) {
l += 1 + Math.floor(coreLines[i].length/displayCols);
if (l >= displayRows) break
else temp.push(coreLines[i]);
}