跳到主要内容
PromptDaily每日精选并验证的 AI 提示词
编程

JavaScript 控制台

JavaScript Console

测试模型:
GPT-4o
有效性评分:
75/100
提示词归档

中文版本

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");

填入内容并运行

这条提示词有 1 处待填。填好后我们会为你拼出完整提示词。

还有 1 处未填

完整提示词

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");

将在新标签页打开并已填入提示词。可能需要先登录该服务。

如何使用此提示词

  • 发送前,请将方括号中的内容替换为你自己的信息。
  • 不同模型的结果会有差异。若输出不理想,可换一个模型或补充一个具体示例。
  • 请将提示词放在一条消息中发送。分多次发送会削弱指令效果。

编程提示词