ganja.js icon indicating copy to clipboard operation
ganja.js copied to clipboard

unary plus triggers infinite loop

Open notwa opened this issue 4 years ago • 0 comments

Algebra(1, () => (+1e0));

this snippet gets stuck in ganja's translate function and never returns. this is especially nasty if you're in the middle of typing something that gets immediately evaluated, e.g. the expression evaluator at https://bivector.net/tools.html

notwa avatar Feb 12 '20 00:02 notwa