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.
Because it's local scope variable as well. So u can do whatever u want with it
Without 'use strict' this will work
Please use spoiler flag next time. Because join returns a string, it doesn't transform your array to a string.
str1
is an array, not a string.this didnt work for me, i dont know why...
Don't ask, try.
But you can understand the s.repeat(n) too. You just don't know what is happening in the background.
I don't think it would work in VS, would it?
It will still work but it is a bad practice to no declare a variable
This comment is hidden because it contains spoiler information about the solution
very clean
This comment is hidden because it contains spoiler information about the solution
Yhh cause everybody from beginner to experience coders can understand.