Console prompts

ChatGPT as a JavaScript Console

GPT

This prompt is designed for ChatGPT to behave like a JavaScript console. It handles JavaScript commands from the user and responds with the output as a JavaScript console would. The prompt also specifies how the user can provide instructions to the model, using phrases enclosed in curly brackets. The first command given is a simple console.log statement to print 'Hello World'.

More details