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.
Well, seems like the author is gone now.
Fizzbuzz. No.
It's a duplicate.
Why is there an array called websites instead of the function declaration?
I actually had to guess the name of the function by making an attempt.
On the other side, more test cases should be provided.
A very poor-quality Kata overall where it is obvious the Kata author has not spent enough time reading up on the JavaScript Test Reference and/or studying the test cases of approved Kata in depth that he/she has completed. I suggest you unpublish this Kata and complete at least 20 more approved Kata on this Website, carefully studying the assertions used in the test cases for each one before attempting to author a functioning Kata.
Test Cases do not match Description (not that they work properly anyway). Description says return array of numbers from 1 to 100 with a twist but test cases (attempt to) pass an argument to function
printValues()
and expect function to return array of numbers from 1 to n (with twist)Incorrect usage of
Test.expect
causes any solution that returns a truthy value to passAmong other things you need to enter an initial solution for your kata that actually has the name of the function people are supposed to write to solve it, like
instead of what it has now, which is
which just causes error messages.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution