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
Example output
totals = settings?.settings?.excluded
?settings?.settings?.excluded?.toString()?.split(',')?.filter((x) => !!x.trim())
: [];
Get this prompt + 9 more with Select$14 your first month, then $19/mo$14 first month, then $19/mo
View SelectBy purchasing this prompt, you agree to our terms of service
TEXT-DAVINCI-002
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
Added over 1 month ago

