PromptBase
Upgrade
Close icon
General
Home
Marketplace
Create
Hire
Login
Chat
Sell
Explore

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()) : [];
🤖 GPT

Buggy Code Fixer

Add to Cart
PromptBase Select
Or get it with Select10 Select prompts/mo — under $2 each
Learn more
Instant accessInstant access
Usage rightsCommercial use
Money-back guaranteeMoney‑back
By purchasing this prompt, you agree to our terms of service
TEXT-DAVINCI-002
Tested icon
Free credits icon
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
Report
Browse Marketplace