Skip to content

Fix arithmetic operations #174

@musicismyalibi

Description

@musicismyalibi

Some of the arithemtic operations do not work the same as the JavaScript implementation. For example:

Rule Our result JS result
{"-":[4,true]} NaN 3
{"+":[2,2,2,2,2]} Error 10
{"/":[4,true]} NaN 4
{"-": 2} Error -2
{"%": [101,true]} NaN 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions