I would like to create a "console.test()", a method that only does console.log() if the variable test == true. But I think it is not possible to use protoype to create such method. I'm a bit green on this, can anyone shed some light?
Another question that arises is: Why in a console.log can we enter information separated by commas? Could you simulate something like this?
Thank you very much in advance!