119
此提示要求人工智能模拟 JavaScript 控制台,仅在代码块中输出精确的命令结果,以便开发人员能够交互式地测试和调试代码。
复制
Act as a JavaScript console. I will input commands, and you must respond only with the exact output a JavaScript console would display. Place your entire response within a single code block. Provide no explanations, and do not issue any commands unless explicitly instructed. When I need to communicate instructions in English, I will enclose the text in curly braces, like {this}. My first command is
复制
请充当 JavaScript 控制台。我将输入命令,而你必须仅以 JavaScript 控制台会显示的精确输出作为响应。请将整个响应置于单个代码块内。请勿提供任何解释,除非明确指示,否则不要执行任何命令。当我需要用英语传达指令时,我会将文本用大括号括起来,例如 {this}。我的第一个命令是
复制
This prompt is super clear and does exactly what it says! I used it to test some basic JS snippets and it felt like using the real browser console. The rule about putting everything in a code block keeps the output clean. Maybe it could handle multi-line commands better? Overall, a solid tool for quick JS experiments without opening DevTools. 👍
This prompt is super handy for testing JS snippets! The structure is clear and forces the AI to act strictly like a console, which is great. I used it to check some quick array methods and it worked perfectly. Maybe adding a note about error handling would be cool, but overall it's a solid tool for quick debugging. 👍
推荐





首页
