Skip to content

Instantly share code, notes, and snippets.

@operateur-mar
Created December 4, 2018 19:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save operateur-mar/155bd9329b368405fd4e25ab9d25097d to your computer and use it in GitHub Desktop.
Save operateur-mar/155bd9329b368405fd4e25ab9d25097d to your computer and use it in GitHub Desktop.
// Other Console commands
console.group(); // Group all console cmds [ must have ending]
console.trace(); // Track elements the page currently using
console.time(); // Check page load time [Must have ending]
console.timeEnd(); // th ending of console.time()
console.memory; // check memory usage ( a propery not a function)
let exist = false; // just a boolean variable
console.assert(exist, "Not Found ! "); // if boolean var is false show not found
console.assert(!exist, " Found ! "); // else sho found
console.groupEnd(); // the ending of console.group()
www.aqweeb.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment