[old] Morse Encoder

[old] Morse Encoder

Your task is to encrypt the text message using the Morse code. The input text will consist of letters (in uppercase and lowercase), numbers and whitespaces. There won't be any special characters ('&', '?', '#' etc.)
You need to use 3 spaces between words and 1 space between each letter of each word.

example

Input: The secret message as a string.

Output: The same string, but encrypted.

Example:

morseEncoder("some text") == "... --- --...
You should be an authorized user in order to see the full description and start solving this mission.