console.time();for (var i = 0; i < 100000; i++) { let square = i ** 2;}console.timeEnd();
const x = 5;
const y = 3;
const reason = 'x is expected to be less than y';
console.assert(x < y, {x, y, reason});
const first = () => { second(); };const second = () => { third(); };const third = () => { fourth(); };const fourth = () => { console.trace(); };first();
console.error("I'm sorry, Dave. I'm afraid I can't do that.");
const x = 5;const y = 3;const reason = 'x is expected to be less than y';console.assert(x < y, {x, y, reason});