ChatGPT very likely didn’t have access to its own source code. It does however have a wild imagination and a vast repertoire of code to pull from.
It wrote you a story in Javascript instead of English after you asked it to.
It wrote you a story in Javascript instead of English after you asked it to.