Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@yoavmmn
Copy link
Contributor

@yoavmmn yoavmmn commented Sep 13, 2017

WHATSUP

The match regex was missing support for negative numbers. issue #70

Before

ms(ms(-10)) // undefined

returns undefined.
It seems natural to get a response like -10 if ms(-10) returns -10ms.

After

ms(ms(-10)) // -10
ms(ms(-.10)) // -0.10
ms(ms(-0.10)) // -0.10

Returns the appropriate result. it doesn't affect any other test and work with floats.

@TooTallNate TooTallNate merged commit f0bc0a2 into vercel:master Nov 29, 2017
@TooTallNate
Copy link
Member

Thanks!

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