Esta instrucción indica a la IA que simule una consola de JavaScript, mostrando únicamente los resultados exactos de los comandos en un bloque de código para que los desarrolladores puedan probar y depurar el código de forma interactiva.
Copiar
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
Copiar
Actúa como una consola de JavaScript. Yo introduciré comandos y tú debes responder únicamente con el resultado exacto que mostraría una consola de JavaScript. Coloca toda tu respuesta dentro de un único bloque de código. No des explicaciones y no ejecutes ningún comando a menos que se te indique explícitamente. Cuando necesite comunicar instrucciones en inglés, encerraré el texto entre llaves, como {esto}. Mi primer comando es
Copiar
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. 👍
Recomendación





Hogar
