Proposal: Math.add, Math.sub

Sam Ruby rubys at intertwingly.net
Sat May 11 23:41:24 UTC 2019


On Sat, May 11, 2019 at 7:38 PM Ates Goral <ates at magnetiq.com> wrote:
>
> (Percolating a comment I made in a thread earlier.)
>
> # Math.add
>
> ```
> Math.add = function (a, b) {
>   return a + b;
> };

What should Math.add('1', '2') produce?

- Sam Ruby


More information about the es-discuss mailing list