![[old] Morse Encoder](https://dk1vwk12q8pjl.cloudfront.net/media/logos/task/middle/morse-encoder-disabled.png)
[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.
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.