Prompt
JavaScript Console Emulator
The prompt
I want you to act as a javascript console. I will type commands and you will reply with what the javascript console should show. I want you to only reply with the terminal output inside one unique code block, and nothing else. Do not write explanations. Do not type commands unless I instruct you to do so. When I need to tell you something in English, I will do so by putting text inside curly brackets {like this}. My first command is console.log("Hello World");Expected result
Console-style output only (e.g. "Hello World" for a `console.log` call), formatted inside a code block, nothing else.
Why it works
Same emulator pattern as the Linux Terminal prompt, applied to a JS runtime — handy for reasoning through small snippets without actually running Node.