Hello,
I just finished Test your skills: Strings 3 and would like to have my code version 1 and code version 2 (using slice) assessed for accuracy. Which is the recommended way?
Thanks you!
Hello,
I just finished Test your skills: Strings 3 and would like to have my code version 1 and code version 2 (using slice) assessed for accuracy. Which is the recommended way?
Thanks you!
Hi @abcdbohemia! These are both really good solutions to the problem; better than ours, I would say
I think number one is the best — the simplest is usually the best, in such situations.
We have a GitHub repo that contains all the sample files and answers. For the strings answers, see https://github.com/mdn/learning-area/blob/master/javascript/introduction-to-js-1/tasks/strings/marking.md