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.
@TIGOSTO your code fails with this input value:
"-1.234"
, it's in the sample tests.I think there's a problem with the solutions.
The code works outside codewars.
Thank you for your answer, I will check everything:)
Did you check for empty strings/ edge cases, please read the last part of the question once, you may console.log those inputs and see what is going on!
.
Read this: https://docs.codewars.com/training/troubleshooting#print-input
Hi, I'm passing all basic tests and 191 random tests, but I have no idea why I'm failing the others. Can anybody give me a clue ?
Thank you !
You can't use replaceAll with Node less than 15.
Hi, I was trying to remove all special characters like "<" or "/" with s.replaceAll() but I'm getting an error message saying that s.replaceAll is not a function. I don't understand why I'm getting this message. Could someone give me a hint to start in the good direction with this ?
Thanks :)
Okay, thanks !
That's because that's not a space, it's an escaped sequence, a new line.
Okay, but I still don't understand why my code is working with this case on codepen and not here. That's why I thought there was an issue.
It's clear why it's not valid. Read the description again if you have a doubt about it.
My first question is quiet incorrect. The exact error is "Wrong output for '123*': expected true to equal false" (where * is a space that was not appearing in my previous question).
Loading more items...