Given a piece of code that causes an error, and the error it causes, this prompt uses reasoning to determine what to do, and then it outputs the fixed, error-free code.
...more
$3.99
Get prompt
After purchasing, you will gain access to the prompt file which you can use with GPT or the app builder. You'll receive 20 free generation credits with this purchase. By purchasing this prompt, you agree to our terms of service.
Over 1 month ago
Prompt Details
Model
Completion - GPT-3 (text-davinci-002)
Token size
248 ($0.01010 / call)
Example input
Code: totals = settings?.settings?.excluded
?settings?.settings?.excluded?.split(',')?.filter((x) => !!x.trim())
: [];
Error: Uncaught (in promise) TypeError: _settings$settings2$e.split is not a function