Act as a JavaScript Console

3 years ago
378 Views
0 Uses

Prompt

ChatGPT
Claude
Grok
OpenRouter
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");
ChatGPT
Claude
Grok
OpenRouter

Model Settings

Temperature

0.7

Max Tokens

2000

About this prompt

“Act as a JavaScript Console” is a free prompt for ChatGPT in the Act As category, 84 words long, added to The Prompt Index on May 7, 2023 by @omerimzali. Copy it with the button above, paste it into ChatGPT or any other AI chat assistant, and send it.

11 upvotes, sent to an AI tool 0 times, viewed 378 times.

Browse all Act As prompts, the AI prompt database or use the AI prompt finder to search every prompt.