|
|
|
|
|
by ryanong
2832 days ago
|
|
"So yeah, in practice the confusing rules of JS equality comparison don't really matter all that much." I run into this all the time. Plenty of junior devs I work with do this. Unfortunately we haven't implemented typescript yet. Yea === solves this problem but I wish there was a deprecation path for ==. Why can't we figure out as a community how to deprecate horrible javascript apis? Why can't we as a community figure out how to have a good standard library? |
|