If you write
However if you write
this will append something to the form, for example a text message.
If you log to the console AND append a message to the form. You will find only 1 log to the console, but 2 appended objects. In other words, whatever phantom executed your code an extra time, was not executing in the internet browser.