Refactor
Preview of the Refactor AI prompt. Open the full prompt, fill in the blanks and copy it on TRYIT.
Refactor the JavaScript code below for readability without changing behaviour.
Keep the p …
Filling in chat prompts
The writing, summarising, coding, study and marketing prompts all follow the same order: role, task, constraints, output format. Changing the audience, length and tone blanks to match your situation makes a visible difference to the answer. Prompts that end with “Text:” or “Code:” expect you to paste your material underneath after copying. Each chat prompt has an answer-language blank if you want the reply in another language.