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.
Thanks a lot!
I fully agree with you. I thought the same, when i was resolving this task. And i think the most part of programmers thought the same.
Спасибо! Благодаря вашей подсказке решил задание. Хотя, наверное, как и большинство, сначала делал через extends.
OP solved it, closing. (Please type your question in English next time...)
The author's explanation is really unclear.
Guys, attentively read the name of this kata and you will understand what you need to do!
You need to find the maximum difference between strings' lengths of array one and array two.
Thanks for your comment, sir.
It helped me to resolve this task.
The author's explanation is really unclear.
Guys, attentively read the name of this kata and you will understand what you need to do!
Thank you very much, sir. You are right. I have changed Node version and my code passed all the tests. I didn't pay attention to it before. Thanks again.
it sounds like you are using an old version of Node JS.
String.prototype.at()
requires Node JS >=16.6
. In the dropdown menu of the trainer, what is the Node version you have selected ?Hi! I got some strange error. In my function i used method of string "str.at()". And in console everything is OK, i got correct results in all cases (i took your examples). But when i tried to test my decision here, i got this error "TypeError: item.at is not a function". Can you tell me please, what is wrong.
If you need my decision for checking i can provide it.