Today I completed the “Grasshopper – Create the rooms” kata on Codewars!

When I was writing the code and testing it, at first I couldn’t understand why a syntax error was popping up. I thought I had typed in the syntax of the hash correctly. Then I realized that unless the keys are placed in quotes, they will be referencing variables that don’t exist. Knowing this, I added quotes and the program worked!

Bug Zero Icon

OUR NEWSLETTER