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.
Thank you so much, I listened to you and now it actually passed the test, so it was problem in that. Thanks again,a lot :-)
I dont know what im doing wrong with Katas, I have good result on my idle, in several katas, but here it doesnt pass the test or attemp...dont know hwy, because the return is the number of vowels in string...
for ex: this error....but it do return 5, not 4 as it says...
Should count all vowels
Incorrect answer for "aeiou": 4 should equal 5
I suggest you read how comma operator works: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Comma_Operator
It returns the value of the last operand, so it's returning
undefined
becauseconsole.log
prints to the console, and returns undefined. Do those things in separate lines as I suggested, firstconsole.log
(optional) and thenreturn
.It works, it does what its asked, every task is completed perfectly, I don't see what is the problem.. Anyways, thanks for feedback.
What do you mean where did I learn to use that? Its pretty basic.
Anyways, so you got same problem as me? Like, solution is there, works perfectly yet it says task is not completed, idk what to do, its same with one other task.
Thank you, i'm such a noob ... Thanks a lot
thanks ~ closing ~~
Fixed?
Not a kata suggestion, and please don't post solutions in Discourse.
It's the same problem, where did you learn to use
return x, console.log(x)
?No it is not, use
console.log
in one line andreturn
in another. There is another problem, but I'll let you figure it out.This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution