This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
How the g flag makes regex objects stateful, causing unexpected behavior in repeated exec calls.
You've completed the free preview. Subscribe to unlock every lesson in every course.