browserify / browserify/syntax-error
top-level return does not cause ParseError
Open
- Dominant language
- JavaScript
- Stars
- 81
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Description
```
> require('syntax-error')('return')
undefined
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the issue through require('syntax-error')('return') and trace how this entry point handles the top-level return input. Done means the same input produces a ParseError rather than undefined; no specific source file or test is named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100