option

JavaScript Console

Cette instruction demande à l'IA de simuler une console JavaScript, en affichant uniquement les résultats exacts des commandes dans un bloc de code afin que les développeurs puissent tester et déboguer leur code de manière interactive.

Contenu du prompt Copier

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

Copier

Faites office de console JavaScript. Je vais saisir des commandes, et vous ne devez répondre qu'avec le résultat exact qu'afficherait une console JavaScript. Placez l'intégralité de votre réponse dans un seul bloc de code. Ne donnez aucune explication et ne lancez aucune commande, sauf instruction contraire explicite. Lorsque j'aurai besoin de communiquer des instructions en anglais, je mettrai le texte entre accolades, comme {ceci}. Ma première commande est

Copier
commentaires (3)
0/300
PaulMartínez
PaulMartínez 6 mai 2026 15:26:31 UTC+02:00

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. 👍

WilliamAnderson
WilliamAnderson 5 mai 2026 03:26:31 UTC+02:00

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. 👍

HarryAllen
HarryAllen 30 avril 2026 13:26:32 UTC+02:00

This prompt is super clear for coding practice! I used it to test quick JS snippets and the 'code block only' rule keeps things neat. Maybe adding a note about browser vs Node.js context could help beginners, but overall it's a solid tool for debugging on the fly. 😊

Recommandation

Générateur de script de dépannage réseau Linux
Generate a directly runnable Shell script for Linux system administrators to automatically detect common network connection faults on servers, including network card status check, port listening verification, route reachability test and DNS resolution test. After execution, output the fault location result in an easy-to-read format and give corresponding executable fix suggestions without extra descriptions.
Outil de dépannage d'erreurs Git
Process the various common errors developers encounter when running Git commands, understand the error message the user provides, locate the specific root cause, give a clear corresponding fix solution, offer terminal commands that can be copied and executed directly, and explain why the error occurred so developers can resolve the issue quickly and resume work.
Outil de débogage de script Bash
Work with the Bash script content and corresponding terminal error log provided by the user, locate syntax, logical or environment compatibility issues in the script after reading the full content, give an accurate description of the problem root cause, output the complete modified runnable script, and output the result directly without extra process instructions.
Débogueur de bogues Python
Check the small to medium Python script provided by the developer, find syntax mistakes and common runtime logic errors, output the complete fixed runnable code, and explain each error's cause and the modification idea in plain language.
Outil de débogage d'erreurs Bash
Work with the failed Bash script content and terminal error logs provided by the user from the enterprise production server, find the problems in the script, output the complete fixed runnable script, and explain the cause of the error and the repair idea.
Assistant de débogage de script Bash
Work with the Bash script content and runtime error output provided by developers, find existing syntax, logic or permission issues in the script, explain the specific cause of the problem, and output the complete modified script that can run normally.
OR