exercism / exercism/javascript-analyzer
Detect dead code from stub
Open
x:action/improve
x:module/analyzer
x:module/concept-exercise
x:module/practice-exercise
x:type/coding
- Dominant language
- TypeScript
- Stars
- 16
- Forks
- 21
- Avg merge
- 6h 53m
- Merged PRs (30d)
- 2
Description
The following four placeholders are present in the stubs. They should be detected and a "must-fix" message should be added to remove the line which is now dead-code.
```javascript
throw new Error('Please implement the (...) function')
throw new Error('Remove this line and implement the function')
throw new Error('Implement the (...) function')
throw new Error('Remove this statement and implement this function');
```
Contributor guide
Assessment
This issue has not been assessed yet.