Bug after using console.log=()


#1

Continuing the discussion from Javascript conclusion part 2:


#2

You don't want to make your console's log method equal to anything. That is just overwriting its built in code.

To use console.log, you do it like this: `console.log("your text in here");

Now that you have overwritten the built in code, you will need to reload/refresh the web page to restore it.


#3

I knew so far but I thought it was quite weird why it made my codes give an error message even after deleting the wrong code :stuck_out_tongue_winking_eye: