You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 25, 2019. It is now read-only.
Describe the bug
The Basic Javascript challenge "Compound Assignment with Augmented Addition" basically asks learners to change:
a = a += 12;
to:
a += 12;
However the testing also allows for this solution:
a = a += 12
(which is the one I used because it's quicker to simply add an
=
sign)Shouldn't it return an error for this? It should be clear that this compound assignment is intended to remove the first
=
sign and simplify the code.Note: this also applies to the three subsequent compound assignment challenges
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Tests to fail.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: