Ad
  • Custom User Avatar

    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.

  • Custom User Avatar

    For me sorting approach was so counterintuitive, so disregard only for that...

  • Custom User Avatar

    Can't understand, why my initial attempt on TypeScript failed with execution timeout. But the same code on JavaScript works just fine.

  • Custom User Avatar

    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.

  • Custom User Avatar

    Come on now, .matchAll is just .match with global flag.

  • Custom User Avatar

    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?