Modifying cpanel | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

Modifying cpanel

My question is that, in javaScript is it good to modify the console object?

6th Apr 2019, 10:23 AM
Sarthak Pokhrel
Sarthak Pokhrel - avatar
3 Answers
+ 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.
7th Apr 2019, 4:18 AM
Sarthak Pokhrel
Sarthak Pokhrel - avatar
+ 1
://Make sure you are perfect in javascript first
6th Apr 2019, 7:46 PM
Sudarshan Rai
Sudarshan Rai - avatar
+ 1
Yes 🤝. JS is excellent method employed to modify the console object. (c panel /panel) :...... 🌼😏🍁🎭
6th Apr 2019, 10:43 PM
Asim Farheen
Asim Farheen - avatar