exercism / exercism/javascript-analyzer

Improve resistor-color-duo: detect unary +

Open
#56 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
16
Forks
21
Avg merge
6h 53m
Merged PRs (30d)
2

Description

**Describe the improvement**:

When a solution has `+expression` instead of `Number(expression)`, and it's _otherwise optimal_, we want to give a specific message. It should still _approve_, but add a message that `Number(...)` is preferred over unary `+`.

**Which exercise**

`resistor-color-duo`

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.