let i = 0; function run() { i++; run() } try { run() } catch (error) { console.log(`i=${i};error: ${error}`); }