exercism / exercism/javascript-analyzer

Detect dead code from stub

Open
#165 12 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.