▲ | pizlonator 4 hours ago | |
It’s interesting how multiple of the bad cases the post identifies exist because of how gross the dynamic types in JS are. If JS’s dynamic types worked like Ruby’s or Python’s then you wouldn’t think to build a library that tells you if something is a regex. |