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.
I removed the global flag of the regex and then it passed the tests.
When I test my regex with console.log I get true, but the test case says "expected false to be true". This happens on about 5 out of 500 tests, but it works if I test it in any other environment.
(console.log(divisibleByFive.test('1010')))