diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-23 22:19:52 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-23 22:19:52 +0300 |
| commit | d50dec3930ff9ecae590e4ec4f0ddd5581021f1d (patch) | |
| tree | fbccbd7887335c3f4fdde9c684db6d036ca598da /cmd | |
| parent | aa836f747d99698b174294d602be7a065c9088e2 (diff) | |
refactor: remove dead Symbol checks from Modulo
Remove explicit Symbol type checks from Modulo() that are never reached.
The toFloat64() helper already rejects non-numeric types (including Symbol)
with a proper error, so the Symbol-specific error messages in Modulo are
dead code. This makes Modulo consistent with Add, Subtract, Multiply,
Divide, and other operators that rely solely on toFloat64() for type
validation.
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions
