Can anybody test the task:
We have in introduce "Write a function that takes an array..." and the test which has not an array, but something this ( , { 'a': 2, 'b': 3 })
And as result test ends with next error:
"/home/codewarrior/index.js:15
Test.assertSimilar( , { 'a': 2, 'b': 3 });
......................................^
SyntaxError: Unexpected token ,
at createScript (vm.js:80:10)..."
Even if all my code is "return array;" i see the same error...
Why does Voile keep repeating "not an issue" for these suggestions? It IS an issue. A kata's description should be as clear as possible and describe exactly what the return type should be (see the problems at HackerRnk for a good example of this). Having to figure out the expected return type from the single test case is not really 7th dan material.
Retired.
This kata is a subject to deduplication process here: https://github.com/codewars/content-issues/issues/110.
Please join the discussion to help us identify duplicate kata and retire them.
Well, it is not about it looking good to YOU, is it Voile?
Yes, RESET helps. Big Thanks for you! I never yet meets with this error...
Click reset, you probably edited the sample test. It should be like this:
Can anybody test the task:
We have in introduce "Write a function that takes an array..." and the test which has not an array, but something this ( , { 'a': 2, 'b': 3 })
And as result test ends with next error:
"/home/codewarrior/index.js:15
Test.assertSimilar( , { 'a': 2, 'b': 3 });
......................................^
SyntaxError: Unexpected token ,
at createScript (vm.js:80:10)..."
Even if all my code is "return array;" i see the same error...
Why does Voile keep repeating "not an issue" for these suggestions? It IS an issue. A kata's description should be as clear as possible and describe exactly what the return type should be (see the problems at HackerRnk for a good example of this). Having to figure out the expected return type from the single test case is not really 7th dan material.
Not an issue
Added
Not an issue
Not an issue
Not an issue
Not an issue
Not an issue
Not an issue
Loading more items...