Skip to content

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

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

(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.

@MikeMcl

MikeMcl commented Aug 30, 2026

Copy link
Copy Markdown
Owner

Thanks for your contribution but I have decided not to include this.

@MikeMcl MikeMcl closed this Aug 30, 2026
@thyrgle

thyrgle commented Aug 30, 2026

Copy link
Copy Markdown
Author

No problem. Good luck! And thanks for the library!

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.

2 participants