locate laravel
выдаёт следующее:/home/dagman/.config/chromium/Default/Local Storage/https_laravel.com_0.localstorage
/home/dagman/.config/chromium/Default/Local Storage/https_laravel.com_0.localstorage-journal
let array = Array.from({ length: 10 }, (v, k) => k);
const getDelay = () => 1000 * Math.random();
var delays = array.map(getDelay).sort((a, b) => a > b); // по возрастанию
console.log(delays); // подготовил заранее
const fn = (el) => {
var delay = delays.shift();
// console.log(`delay for ${el} :`, delay);
setTimeout(() => {
console.log(el);
}, delay);
return el * 2;
};
console.log(array.map(fn));