JS_Fun_Practice icon indicating copy to clipboard operation
JS_Fun_Practice copied to clipboard

Parenthese Mismatch

Open musabadru opened this issue 2 years ago • 1 comments

The readme contains a potential parentheses mismatch in the addmTwo example, specifically in the second usage example:

addmTwo(m(1, m(Math.PI, 'pi'))) // {value:4.14159..., source:"(1+pi)"}

It seems there might be an extra closing parenthesis at the end of the source value. The correct representation should likely be:

addmTwo(m(1), m(Math.PI, 'pi')) // {value:4.14159..., source:"(1+pi)"}

This adjustment ensures that the parentheses in the source value are properly matched and represent the intended mathematical expression.

Please review and address this discrepancy in the readme.

Thank you!

musabadru avatar Nov 27 '23 14:11 musabadru

Is this issue still open?

Ankush142930 avatar Jun 02 '24 12:06 Ankush142930