No chance I'm getting a username this simple on most platforms
guy
Oh that makes sense. I didn't consider it might be treated as a char
"1" + 2 === "12"
is not unique to JS (sans the requirement for the third equals sign), it's a common feature of multiple strongly typed languages. imho it's fine.
EDIT: I did some testing:
What it works in:
- JS
- TS
- Java
- C#
- C++
- Kotlin
- Groovy
- Scala
- PowerShell
What produces a number, instead of a string:
- PHP
- SQL
- Perl
- VB
- Lua
What it doesn't work in:
- R
- C
- Go
- Swift
- Rust
- Python
- Pascal
- Ruby
- Objective C
- Julia
- Fortran
- Ada
- Dart
- D
- Elixir
And MATLAB appears to produce 51, wtf idk
Watch out I guess, because that opens the Emergency SOS page on my OnePlus phone and, if I have an additional setting toggled, automatically phones emergency services... the phone does not lock
Not sure about all phone models, but at least with mine, if I switch it off then it requires a PIN, rather than biometrics, upon being switched back on. Thus if the police arrive, immediately switching off your phone could be a sensible thing to do
This is why I rarely get on board with new Google products nowadays. I know they'll get half assed support and then be killed off really quickly.
The sort of comeback so good you think of it later on and write a comic, wishing you'd said it at the time
Usually they're building the website with browserlist and polyfills, and they specify how old a browser they wish to support, usually by analysing percentages of public usage, or they allow types only supported in newer browsers. Meaning if they use a feature only available in newer browsers, then it won't be automatically backported to support older browsers.
But that's only if they actually use those features, they're just available to them. And it'll only break in those places they do use them, which could be quite little of the site.
So often it's just "we can't guarantee it'll work in your old browser and enough of our users use newer browsers that we'll block you and not care".
I have ad blockers everywhere, except native mobile apps. I've clicked on an Instagram ad for shirts. I bought the shirts. People keep complimenting me on the shirts. No regrets there
The AI's having a hard time deciding what's inside the bird cage and what isn't, though it did better than I would've expected
Really not looking forward to the idea of github.io links all becoming dead. So many repos with documentation at a github.io URL, with those links spread all across plaintext files and Stack Overflow and forums