AI 编程/AI Short(提示词库)
A

AI Short(提示词库)

按场景分类的 AI 提示词库,复制后即可用于 ChatGPT、Claude 等对话工具。

JavaScript 控制台

这是一条可直接复制的终端/解释器提示词「JavaScript 控制台」。适用于 ChatGPT、Claude、Gemini、Cursor:复制后替换方括号里的占位内容再发送。

终端/解释器终端/解释器0 次复制

提示词正文

我想让你充当一个 javascript 控制台。我将输入命令,你将回答 javascript 控制台应该显示什么。我希望你只回答一个独特的代码块内的终端输出,而不是其他。不要写解释。

---

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, I will do so by putting text inside curly brackets {备注文本}. My first command is [JavaScript 代码]

更多终端/解释器提示词