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