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.
You are given an integer as a parameter input, not a string. Strings have a 'replace' prototype but integers don't. Therefore when you try to access the 'replace' prototype, you recieve an error because it doesn't exist. Cast the integer to a string. Also, make sure you return an integer instead of a string as well.
This comment is hidden because it contains spoiler information about the solution