Given the many places that are affected by number handling, I'd say this is not possible.
Several JS frameworks provide ways to navigate some of the rougher edges here, have you considered using one that provides the kind of math guarantees you're looking for? On Sun, Dec 11, 2016 at 6:07 AM <[email protected]> wrote: > Is it good idea to make dev build of v8, which will treat not-numeric or > NaN values in any Math, +, -, *, / ^, and e.t.c. operatons as exception? I > think its will save a lot of time for js developers. > Is exists something like that or any one can help to add it? > > -- > -- > v8-dev mailing list > [email protected] > http://groups.google.com/group/v8-dev > --- > You received this message because you are subscribed to the Google Groups > "v8-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
