+ 6
Modifying cpanel
My question is that, in javaScript is it good to modify the console object?
3 Respostas
+ 4
Shudarshan Rai 👑
U needn't worry weather I am perfect in JavaScript or not.
You tell me that, in javaScript, modifying pre-defined objects in javaScript is weather good or bad.
Asim Farheen
Yeah, you told me modifying console objects and its method is good. You might know that, its very bad to modify the methods of document object and modifying the properties of document changes the content or appearence of document which is not bad.
Whenever console object is modified, I want to know that which browser shows error and which not. So that, I whenever modify it, I modify responsively without producing errors or by handling errors and exceptions in javaScript.
My aim of modifying objects console is to slightly improve it.
For eg:
console.warn() doesnt works in sololearn. What I want to do is change that warn object checking the browser property if the warn() method works or not.
I hope you guys understood me.
+ 1
://Make sure you are perfect in javascript first
+ 1
Yes 🤝.
JS is excellent method employed
to modify the console object. (c panel /panel) :......
🌼😏🍁🎭