This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
How the 'y' flag enforces matching at the exact lastIndex position without searching ahead.
You've completed the free preview. Subscribe to unlock every lesson in every course.