This is really inspiring, Oss.
This comment is hidden because it contains spoiler information about the solution
you are thing box out
! is a regular character in JS regex, but ? is a special character (the "zero or one" quantifier in this specific instance) which has to be escaped.
!
?
/!/g how did it work without scaping like this /?/g
not bad. probably don't want to implode the array with each check
super elegant i likee
Loading collection data...
This is really inspiring, Oss.
This comment is hidden because it contains spoiler information about the solution
you are thing box out
This comment is hidden because it contains spoiler information about the solution
!
is a regular character in JS regex, but?
is a special character (the "zero or one" quantifier in this specific instance) which has to be escaped./!/g how did it work without scaping like this /?/g
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
not bad. probably don't want to implode the array with each check
super elegant i likee
This comment is hidden because it contains spoiler information about the solution
Loading more items...