Today I completed the Grasshopper – Variable Assignment Debug kata on Codewars!

When I looked at the code, I could quickly see the problem: instead of using the assignment operator, it was using the equal to operator. Knowing this, I fixed the code and it worked!

The =(variable assignment operator) and ==(equal to operator) are very easy to confuse. Know the difference!

Bug Zero Icon

OUR NEWSLETTER