What a weird article. Of course it'll dump source code if you ask for that. But it's not the source code of ChatGPT, it is just random noise with correct grammar.
Agree, this "source code" means nothing, is dreamt up and represents basically a 1.01 tutorial of Javascript that teaches you how to add an event handler to an element.