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.
Yea, but it has shown error in line 106? Right? I have only about 20 lines at all. That's why I don't understand..
Hi,
you surely forgot to open or more probably to close some other parentheses, squared or curly brackets somewhere eralier (funny part being: you have to spot it by yourself... x) )
Hi, Guys! I am newbie to JS, so, please, don't judge me harsh, I got such an error (see below), when I was testing my solution for this kata here.
Can you please, give me, right direction... what is it about? Thank you.
/home/codewarrior/index.js:106
});
^
SyntaxError: Unexpected token )
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:616:28)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at [eval]:1:1
That is sad to hear, you are very close. But keep in mind that the kata is not about which numbers, just that a number is found.
Edit: nvm, be aware of duplicates
Yeah, I see now, it was my fault, I take samples for my own testing inside IDE and didn't pay attention for assert properties. Thanks.
Order shouldn't matter, that's why the test is like this:
I've tried returning
["11", "12", "14", "21", "22", "24", "41", "42", "44"]
for"11"
and it works.This comment is hidden because it contains spoiler information about the solution
It was my bug, sorry. Everything works ok, except the ambiguity about years range. Thank you.
Can you be more specific? Thanks, suic
Hi, in Ruby's description also mention that years are in range 1583 - 4000! As far as I understood it's not true? I have a strange mistake there in last test, but all other tests did perfectly. Could you check it, please?
This is wrong solution, but it goes through all tests!
This comment is hidden because it contains spoiler information about the solution
mmh, I forgot about that subtlety. You didn't pay enough attention to this requirement:
(edit: seems I'm a little late... x) )
You are right! Thank you!
And there's 2
B
s andD
s on the map, and they're both hit, so it's all correct.Loading more items...