Intrestingly (or not), ChatGPT does not know that it knows JavaScript. The couple of questions below show that AI can exhibit amazing behavior even when it's not really there when it comes to knowing what it knows or why.