js log stack trace code example
Example 1: javascript dump strack trace
console.trace();
Example 2: console trace js
console.trace( [...any, ...data ]);
Example 3: js log stack trace
console.log(new Error().stack);
console.trace();
console.trace( [...any, ...data ]);
console.log(new Error().stack);