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 test runner logs are not a place to advertise katas or beg for feeback/rank/vote. Also, please don't mess with the color for no reason.
[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 parameters and return type.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.
[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 return type.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.
[TypeScript]
Consider using an assertion method that accounts for floating point errors (like
closeTo
orapproximately
), especially when the naïve solution can be resolved using trigonometric functions or the square root operator.[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".
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution