Beta
Array Imposter (a.k.a. String Undercover)
29sirRodge
Loading description...
Arrays
Strings
Fundamentals
View
This comment has been reported as {{ abuseKindText }}.
Show
This comment has been hidden. You can view it now .
This comment can not be viewed.
- |
- Reply
- Edit
- View Solution
- Expand 1 Reply Expand {{ comments?.length }} replies
- Collapse
- Spoiler
- Remove
- Remove comment & replies
- Report
{{ fetchSolutionsError }}
-
-
Your rendered github-flavored markdown will appear here.
-
Label this discussion...
-
No Label
Keep the comment unlabeled if none of the below applies.
-
Issue
Use the issue label when reporting problems with the kata.
Be sure to explain the problem clearly and include the steps to reproduce. -
Suggestion
Use the suggestion label if you have feedback on how this kata can be improved.
-
Question
Use the question label if you have questions and/or need help solving the kata.
Don't forget to mention the language you're using, and mark as having spoiler if you include your solution.
-
No Label
- Cancel
Commenting is not allowed on this discussion
You cannot view this solution
There is no solution to show
Please sign in or sign up to leave a comment.
No random tests?
hey there Voile, thank you, can you let me know what you mean? Perhaps give me an example of a random test or point me to a kata that has one visible in its example tests
Katas require random tests so users can't just pattern-match the input in the fixed tests.
Most katas have random tests nowadays, so just solve one and look at how the tests are written ;-)
Does not provide any failure messages. Besides that, nice idea and nice kata. Thank you
Thanks! Would you mind providing an example of a Test that provides a failure message? :)
Did you disable
console.log
somehow? I think your tests should already output some failure message! Best practice would be to be more descriptive though. For instance:Don't think I disabled console.log, at least not intentionally. Added failure messages :)
I think my browser addon (uMatrix) was blocking parts of the output... Thanks
There is a little typo in the description: "jsFunction" [...] which should jst return the corresponding array property value"
Fixed
Why is the solution area prefilled with
var websites = [];
? Would it not be better to start with sth like:Whoops, accident, fixed :)