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.
Because replaceAll requires Node v15+. Please mark your post as having spoiler content next time.
That's because the input is already a negative number and
--12525220.3325
can't be converted to a number.just open console in ur browser or jsconsole site and try. It will be working.
ps change simple quotes to back quotes. this editor dont display it.
If you don't provide the code that's failing, how do you expect someone else to guess what it was? And it was probably wrong:
I wrote:
My console shows me that +’-${12525220.3325}’ is equal to -12525220.3325 But tests shows NaN
wait, what? you mean that we count the time that 3m customer waits for his coffee AND the time that 3m customer waits with the 2m customer for her coffee??? in that case why don't we count the time that the 4m customers waits with the 3m customer?
You say nothing about what should be fixed, there is nothing to fix, if your code didn't pass it was not correct, it's that easy.
The kata is ok, and you passed it. What are you saying?
You forgot that the 3m customer also waits the 2 minutes it takes to brew the 2m coffee. 13 minutes is correct.