![](/static/253f0d9b/assets/icons/icon-96x96.png)
![](https://lemmy.ml/pictrs/image/c0ed0a36-2496-4b4d-ac77-7d2fd7f2b5b7.png)
because if A is the string “-1” and B is the integer -1, JS evaluates A==B as true because reasons
Interesting. If it were the other way around, I think I would have been fine with it (i.e. ==
used for comparison with type like any other language and ===
without type). But as it stands now I would hate it if I had to write in JS (but I don’t so it’s fine).
It is indeed a new thing. For the reasons you’ve mentioned this was an option for enterprise customers for earlier versions of Windows as well, but this time they are making the option available to home consumers too. I can’t really see too many people paying for this though. Those who care will move on to Windows 11 (or whatever is out there by then) and others will simply keep running an unsupported / not updated OS. In all likelihood, MS will keep providing security updates for the latter for free in the end.