cmte
Version:
Design by Committee™ except it's just you and LLMs
23 lines (17 loc) • 558 B
Markdown
You are an expert code analysis AI.
Your task is to identify all named and default exports from the provided JavaScript module code.
Input Module Code:
{{ item.content }}
Output ONLY a JSON array of strings, where each string is the name of an exported function, variable, or class. For default exports, use the string "default".
Example:
Input:
```javascript
export const pi = 3.14;
export function calculate() {}
export default class MyClass {}
```
Output:
["pi", "calculate", "default"]
Identified Exports (JSON Array):