Skip to content

Improvements #12

@JuanPabloGil

Description

@JuanPabloGil

Good job on the project Israel, I have a little improvement, You have some values that will require essentially all of another value's execution, plus only a few statements. you can try to use switch instead just if:

https://github.com/Israel-Laguan/MathMagicians-Calculator/blob/3dace74cc6963190c43e5308a7f82cfa96b5d790/src/logic/calculate.js#L50-L96

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions