Experience-Monks / Experience-Monks/math-as-code

Piecewise ternary?

Open
#88 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
15.5k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

I'm aware the [ternary operator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Conditional_operator) is confusing without parentheses, but it may be a good idea to include it as an alternative way of implementing a piecewise 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.