Город МОСКОВСКИЙ
00:03:22

CodeWars || Simple Pig Latin || JavaScript || Code Challenge

Аватар
JS Кодер
Просмотры:
21
Дата загрузки:
29.11.2023 09:59
Длительность:
00:03:22
Категория:
Технологии и интернет

Описание

Move the first letter of each word to the end of it, then add "ay" to the end of the word. Leave punctuation marks untouched.

Examples
pigIt('Pig latin is cool'); // igPay atinlay siay oolcay
pigIt('Hello world !'); // elloHay orldway !

Рекомендуемые видео