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.
Funny one!!
23 dec 2021
if TEST is passed, BUT....
if ATTEMPT this solution is:
SyntaxError: Invalid regular expression: /:-($/: Unterminated group
at String.match ()
at solution (test.js:5:14)
at check (test.js:12:16)
at Context.it (test.js:28:1)
'$' is end of line in Regex
why is the +"$" needed?
Yes you're supposed to do that ; it's best practice :) See the fork D:)
huh, you dont have to specify var, let, etc... on variables, I like it
Awesome! I'm finally starting to understand apply() better.
great detaild explanation!
@schm0 Not sure what you mean - this is native JS, not Underscore.
Is there anything similar that doesn't lean so heavily on underscore? I don't mind learning more about underscore, just looking for something more focused on native javascript.
Thanks very much for the reccomendation, Im a big fan of this style so will definitely be checking this out
If you like this style of javascript, I recommend checking out Michael Fogus' Functional Javascript where he goes over lots of patterns like this:
http://shop.oreilly.com/product/0636920028857.do
This is so unbelieveably slick, love it and learned alot about what concat can accept!
I submitted this solution and received an error.
Anyone ideas?
Loading more items...