3 ms·
it's a bit hacky but you can solve that with: console.log(JSON.parse(JSON.stringify(myArrToDebug))); It fully clones the array (impossible to have odd refs ha
by abritinthebay 10y ago
it's a bit hacky but you can solve that with:
console.log(JSON.parse(JSON.stringify(myArrToDebug)));
It fully clones the array (impossible to have odd refs hang around).