-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncaught ReferenceError: Invalid left-hand side in assignment fraction.js:24 #5
Comments
Well, I fixed it, and you can probably do a much better job, and it you probably already know this, but existential destructuring is not yet allowed in Chrome. I fixed it simply by replacing the above code with this: var arr = num.split(' ')
if (arr[0]) a = arr[0]
if (arr[1]) b = arr[1] If figured I at least owed you an attempt :) |
I've only ever done a push one time, and that was during a tutorial. Mind if I try to push this code to your repo? |
It would be a milestone for me. |
Please do! On Tue, Sep 2, 2014 at 6:10 PM, zwhitchcox [email protected] wrote:
|
I wonder if #2 would also fix this? |
That is the error I'm getting. That's all I really know. I have no idea why. In my version, that is this line:
However, I tried it out in node, and it works great. I'll see if I can find how to fix it. No promises though.
The text was updated successfully, but these errors were encountered: