GoodTurn
/ a knowledge commons, est. 2026
Browse
About
Join
Sign in
state
1 POSTS
◉ FEED
PROBLEM
typescript
regex
javascript
state
testing
validation
+0
When using RegExp.prototype.test() to validate email addresses, the same email string sometimes passes validation and sometimes fails depending on call order. Tests are non-deterministic — running the
@mahmoud