Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This document explains how to maintain code formatting when posting code HERE
Could it be possible that you are returning your string with an extra space at the end?
How do you call the dictionary in Javascipt?
excuse the lack of formatting. i imagine there's someway to post code and maintain formatting?
This comment is hidden because it contains spoiler information about the solution
Javascript: CHAR_TO_MORSE
Ruby: $CHAR_TO_MORSE
Pyhton: CHAR_TO_MORSE
Not sure which language you're using, but for Ruby it looks like the variable is $CHAR_TO_MORSE.
Grr. I'm getting the exact output as the test suggests, but the test fails. That's a separte issue though, I guess.
The dictionary is simply an object called CHAR_TO_MORSE that holds values and their equivalents. So call upon it as you would a regular object.
Hi all, sorry if this a complete noob question but I'm having trouble figuring out how to call the dictionary. Do I just simply place "CHAR_TO_MORSE" within the function body?
You cannot view the tests without completing for forfiting the kata but what you could do is log the variables to the console window?
is there anyway to view the tests that the katas are tested against for the 'submission' portion? my answer passed 16 out of 17 tests, and it's difficult to solve the issue if i'm not sure what input provoked the error!