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.
yep most teams in my experience default to using them, and it's not a bad choice. know the rules so you can break them. again it's a stylist choice.
eslint: "always" (default) requires semicolons at the end of statements
https://eslint.org/docs/latest/rules/semi
A stylistic choice. JS doesn't require semi-colons, the interpreter automatically adds them.
https://www.freecodecamp.org/news/lets-talk-about-semicolons-in-javascript-f1fe08ab4e53/
Why you skip ';' in the end return statement?
It said position of the alphabet not the ASCII value of the alphabet.
thanks, it passed this test case now!
;)
The question is why 754 is greater than 837 ?
This case has already been posted but I still don't understand why 754 is greater than 837 for the test below.
It is the only test that didn't pass.
Test.assertEquals(high('what time are we climbing up the volcano'), 'volcano');
c:99
l:108
i:105
m:109
b:98
i:105
n:110
g:103
total: 837
v:118
o:111
l:108
c:99
a:97
n:110
o:111
total: 754
The tests are using a custom function to compare your returned value against the expected one. That function returns a boolean and that's what that message is about.
Given a non-negative integer, RETURN AN ARRAY / a list of the individual digits in order.
It says return an array and I got should return true of false ...
Navigate solution tab in your profile. If your solution is there means you've completed and system will be updated later
I have solved this kata and I can see my code in My Solution.
However when I sort by "kata I have not completed" this one still appear in the list.
I have tried to submit the solution again but it still appear like I didn't solve it.
javascript
Loading more items...