Skip to content

(Optional) operator overloading for major arithmetic operators. - #263

Open
thyrgle wants to merge 1 commit into
MikeMcl:masterfrom
thyrgle:master
Open

(Optional) operator overloading for major arithmetic operators.#263
thyrgle wants to merge 1 commit into
MikeMcl:masterfrom
thyrgle:master

Conversation

@thyrgle

@thyrgle thyrgle commented Aug 11, 2026

Copy link
Copy Markdown

If one uses babel-plugin-overload then they should now be able to write a + b instead of a.add(b) and a * b instead of a.mul(b) etc. Nothing else is affected. So a user does not need to use Babel. But if they do, they can get this added benefit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant