I know. I solved this kata.
You don't need regex, you can search in string methods for one that checks if a string only contains numbers.
You're probably right. I found this kata in unfinished.
I suggest you learn regex before trying to solve katas that have Regex in their title, otherwise, you'll find them more difficult than they are.
The worst kata.
I don’t know regex, so I don’t do it that way — is that bad? If you’re lucky, you’ll solve it quickly; otherwise, it can be quite troublesome. I think this kata is not suitable for level 7, or the test cases need to be simplified.
i should have read kata discription more carafuly.
Testing errors/ "+[^]" should throw an error /
Noobs code (JS) like this - don't work: if (tape === '+[^]') { console.error('error'); return 'error'; };
How function must do this?
Loading collection data...
I know.
I solved this kata.
You don't need regex, you can search in string methods for one that checks if a string only contains numbers.
You're probably right.
I found this kata in unfinished.
I suggest you learn regex before trying to solve katas that have Regex in their title, otherwise, you'll find them more difficult than they are.
The worst kata.
I don’t know regex, so I don’t do it that way — is that bad?
If you’re lucky, you’ll solve it quickly; otherwise, it can be quite troublesome.
I think this kata is not suitable for level 7, or the test cases need to be simplified.
i should have read kata discription more carafuly.
Testing errors/ "+[^]" should throw an error /
Noobs code (JS) like this - don't work: if (tape === '+[^]') { console.error('error'); return 'error'; };
How function must do this?