I have wrote a code and it was successfully tested aside from codewars code execution environment. But when I'm trying to post it here, codewars nagging for my regular expression.
How can I know what exactly is wrong. The issue occurs only in local environment.
Just interesting why indigenous TypeScript doesn't support modern things like nullish coalescing operator or MatchAll? Sometimes it seems so tedious for me to rewrite such things.
Was unable to finish this solution on the TypeScript language and finally was forced to fall back to JavaScript.
TS compiler wining that "Property 'matchAll' does not exist on type 'string'". This is crap. For what sake we are supposed to fit into the outdated language versions?
Hi.
I have wrote a code and it was successfully tested aside from codewars code execution environment. But when I'm trying to post it here, codewars nagging for my regular expression.
How can I know what exactly is wrong. The issue occurs only in local environment.
For me sorting approach was so counterintuitive, so disregard only for that...
Can't understand, why my initial attempt on TypeScript failed with execution timeout. But the same code on JavaScript works just fine.
Just interesting why indigenous TypeScript doesn't support modern things like nullish coalescing operator or MatchAll? Sometimes it seems so tedious for me to rewrite such things.
Was unable to finish this solution on the TypeScript language and finally was forced to fall back to JavaScript.
TS compiler wining that "Property 'matchAll' does not exist on type 'string'". This is crap. For what sake we are supposed to fit into the outdated language versions?