JavaScript

knowledge skill

The agent examines a JavaScript snippet and performs the requested operation—debugging, refactoring, or explaining—producing a text artifact that contains either corrected code, a transformed version, or a concise explanation of the code's behavior.

Worked examples

Input

Output

Details