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.
early returning! smart
errrr...
That's not how you use the word 'issue'
However, duplication is not an issue
This comment is hidden because it contains spoiler information about the solution
You can replace
win === true
withwin
because win is already a boolean
If you need to explain what you said, you didn't say it clearly enough.
I would recommend being specific when trying to help a beginner; otherwise, don't, because they will become more distracted.
Unfortunately, I didn't do it correctly.
If you had provided the entire explanation at once or referred me to the documentation, I might have understood better. However, you gave me information without context, so only you would understand it.
Hi,
I added random tests.
And deleted the assertion messages.
Hi,
Thanks for you reply, I resolved the issue.
Great approach!
I would recommend just doing s1[i] === s2[i], if true add s1[i] (or s2[i]) to the string.