119
このプロンプトは、AIに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コンソールに表示されるのと同じ出力を正確に返すようにしてください。返答はすべて1つのコードブロック内にまとめてください。説明は一切行わず、明示的に指示されない限り、コマンドを実行しないでください。英語で指示を出す必要がある場合は、{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. 👍
おすすめ





家
