Most JavaScript developers are familiar with the basic console.log(). However, the console API offers many other methods that can be incredibly use...
For further actions, you may consider blocking this person and/or reporting abuse
console.log(Object.keys(console))
Try this you will get list of functions associate with console function,
Alternat methods :
Using Object.getOwnPropertyNames()
console.log(Object.getOwnPropertyNames(console));
Using for...in loop
for (let key in console) {
console.log(key);
}
*Note : * this is not just console function we can find almost all properties of any JS function
Great
Never knew about
console.time()
. Thank you for sharing this. 🙌Yep! Didn't know a lot of stuff.
Console
hides a lot!I think using a separator after each point would give a better structure for the post.
Thanks for the advice
Thank you for sharing. I plan to use
console.group()
andconsole.groupEnd()
for my next implementation.Yeah go ahead.
Insightful
Very Nice article, I was not aware of at least half of it
console.time() and console.timeEnd()
is new for me #Helpfull #greateinsight
Nice
Thanks for sharing this with us! Keep up the good work.
If you want to know more about java then do visit here
really nice Article ;-)
it's better to use logging libraries like errsole because you can get insights about your application and see your logs all in one place in the UI
Nice
Thank you for sharing, Very insightful!
The console.counter() one is very useful.