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.
Again, the message is self-explanatory. You are calling two methods (isNaN and isInteger) for an object (summation) that do not have those methods. You most likely want to call isNan(x) instead of summation.isNaN(x).
The message is self-explanatory. You did not define the "index" variable.
function greetingForAllFriends(friends){
if(friends[index]!==null && friends!==null){
return("Hello, "+""+friends+"!")// ...
}
else {return null}}
say's index is not defined in the function???
This comment is hidden because it contains spoiler information about the solution
addWord(array, string){
array.push(string)
array=this.array
}
gives
Test Passed: Value == ["hello"]
TypeError: Cannot call method 'push' of undefined
at addWord