Closed mykeels closed 5 years ago
Thank you very much for pointing this out, i've found the bug. Nice eyes bro, more catches in the future. I will be making a PR to close this issue
So i've fixed the bug. The fix is in version 1.0.9 on yorlang npm. Once again, thank you
Describe the bug
I tried writing the following function:
To Reproduce Steps to reproduce the behavior:
When I supply
22
as an argument, I getundefined
as its return value, but32
as an argument returnsKu iseju Mejidinlogbon
which is fine.If I flip the logic, and specify < before >, then
22
works and32
does not.If I rewrite as nested if-else statements, then it works well.
Expected behavior
ṣé
andtàbí ṣé
should work.