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.
The test you claim you're getting does not and can not exist. A js number does not hold any information about leading zeros, it is of your own invention.
There are no octal numbers in play here, and the problem you have is not the problem you think you have. Leading zeros and octal numbers are not the same thing, and in this kata you should return an answer without leading zeros, but it has nothing to do with octal representation of a value. Simply not.
You'd have to read a bit on differences between representation of a number and its actual value.
Example with zeros would be good to have in the description though, that's for sure.