Today I completed the Super Duper Easy Kata on Codewars!

It was difficult to figure out how to check if the parameter was a string. I looked it up and found a method called typeof that returns what type the value is. So I wrote a condition to check if the parameter was a string and return the word “Error” if so. And it worked!

Never give up. Look for help with your problems.

Bug Zero Icon

OUR NEWSLETTER