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"); What it is
Taken from f/awesome-chatgpt-prompts, this one turns the AI into a JavaScript Console. It opens with: "I want you to act as a javascript console." What you provide: "I will type commands and you will reply with what the javascript console should show." Rules the prompt sets: "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." Sample request in the source: "my first command is console.log("Hello World");"
برومبت بيخلّي الـ AI يلعب دور «JavaScript Console»، من مجموعة f/awesome-chatgpt-prompts.
Examples
Source prompt with its sample request
PromptI 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 output: Copied verbatim from prompts.csv. The sample request is from the source: my first command is console.log("Hello World");
Tips
- The source asks: I want you to only reply with the terminal output inside one unique code block, and nothing else.
- The source asks: do not write explanations.
- The source asks: do not type commands unless I instruct you to do so.
- Replace the sample request at the end with your own.