|
|
|
|
|
by noxToken
2839 days ago
|
|
But why? I'm having a hard time understanding why you'd outright ban identity (===) and only allow equality (==). I can think of one instance where I needed identity instead of equality, and I took the time to refactor to ensure that equality would work. |
|
If you are curious, please post some real life real working code where in your mind usage of === is absolutely needed and I try my best to explain how I would tackle that with ==.