MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1bjjkm6/arejsdevsactuallysane/kvsm5z9/?context=3
r/ProgrammerHumor • u/jarulsamy • Mar 20 '24
554 comments sorted by
View all comments
Show parent comment
9
One could argue that `new Regexp` should maybe just check the type of the input and error if it is not the expected type,
This is what they were saying. Type checking in JS is a thing.
View all comments
Show parent comment
9
u/Antrikshy Mar 20 '24
This is what they were saying. Type checking in JS is a thing.