Skip to content

Instantly share code, notes, and snippets.

@alexb4a
Created April 11, 2023 17:25
Show Gist options
  • Save alexb4a/4707945c36193ae52f513898ef192a39 to your computer and use it in GitHub Desktop.
Save alexb4a/4707945c36193ae52f513898ef192a39 to your computer and use it in GitHub Desktop.
ChatGPT Javascript Prompt
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");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment