console.log('message');
console.warn('message');
console.error('message');
console.group("Booting");
console.log("Authenticating user '%s'", user);
console.groupEnd();
console.table([[1,2,3], [2,3,4]]);
var book = {}; book.title = "Harry Potter"; book.author = "J K Rowling"; book.price = 9.99; book.pub_date = '2016-01-01';
console.table(book, ["title", "author"]);
console.log("%cThis will be formatted with large, blue text", "color: blue; font-size: x-large");
console.time("Booting");
// Do stuff
console.timeEnd("Booting");
CMD+P
(or Ctrl+P) in devtools to search for any fileTo see variables
keys(window)
To see objects
dir(window)