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.
bruh what
.
top solution got invalidated after spec update
красава просто лучший
it's already mentioned that only valid arguements will be passed
This comment is hidden because it contains spoiler information about the solution
Вот небольшое пояснение:
"[aeiou]": Это регулярное выражение, которое соответствует любой гласной букве (в нижнем или верхнем регистре).
"": Это строка, на которую будет заменена каждая найденная гласная буква, то есть на пустую строку.
options: [.regularExpression, .caseInsensitive]: Эти опции указывают, что мы используем регулярное выражение (.regularExpression) и игнорируем регистр (.caseInsensitive), чтобы учесть гласные в любом регистре.
I think this is the best practice because we replace the rest of the letters with lowerCase
freaking genius
1 at the end is redundant
sweet
In your solution, if you remove the 'Walrus operator',
nothing will change.
Everything worked,
and will continue to work without the 'Walrus operator'
hahhahahahahahahhahh XD
'Walrus operator' capable make this solution more efficient oneliner. Open for arguments...
Neither best practice or clever. Same goes for the other solutions which are highly rated.
Loading more items...