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.
This script has a good balance of speed and its clean to read. Nice work.
This was the output from my console:
var reg = /123/g
undefined
reg.flags
"g"
reg.source
"123"
I only used the flags property in the constructor after several test iterations. I'll try it without that and see how it responds.
This comment is hidden because it contains spoiler information about the solution
Shouldn't there also be a test for the inclusion of the "thisArg" implementation?