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.
[TypeScript]
The types for the TypeScript translation are incorrect.
String
represents the gloabl string object, it is not the right type to use for a primitive string.string
should be used instead for the parameter.See https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#the-primitives-string-number-and-boolean
and https://www.typescriptlang.org/docs/handbook/declaration-files/do-s-and-don-ts.html#general-types
in the TypeScript handbook.
Kinda ironic for a kata tagged with "string" and "fundamentals".
I suggest unpublishing the kata before it gets retired.
Regards, suic
Random tests don't show the lambda expressions as input, making it hard to debug.
They should be added either in the "it" or in the assertion failure message.