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.
there is actually no need to save into variables the functions in our answers to these exercises, as we're not asked to then use them as parameters in higher order functions, so we can use a function expression, rather than a function declaration (plus, especially with the concise arrow syntax, we can use functions diretly as argumemts in other functions, or define and call them at the same time as an IIFE, eg. ((n)=> {console.log(n=5);}10); that logs 15)
great, I agree, your code should be short and fast at the same time.
why?
Not sure if this should be best practice
This solution does not work for something like " (space) 3.5 (space) "
Thanks!!
I thought I was doing something dumb using the replace method 3 times.
I'm just curious as to why this isn't the "best practice" it's this the "best" way to break the code down?
RegExp
. See MDN.Guys I am new to javascript and I have seen this string with dollar sign a lot can someone give me its name to study it. And thank you.
very nice!
Thanks! Now I don't understand how I didn't see it
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
f*ck have my kids
Loading more items...