The email arrived late last year, a harbinger of a new era. Disney+ was jacking up their annual plan to a whopping $140. It wasn't an isolated incident. Netflix announced their cheapest tier would now come bundled with ads, Amazon Prime would be $3, TV went from $66.99 to $999 a month there are so many great things to watch and they're all spread across so many different Services. I want to watch them all but man does it hurt to Fork up so much money every month to do it it kind of makes you won
For me it’s: remember the last user on this device!
If I open Hulu and I have ONE account, why are you making me select the ONE account? I have to select it every time. They should know.
if(accounts.length === 1) { setAccount(accounts[0]); }
There. I fixed it. Give me a job.
Triple equals? I’m no expert programmer but I’ve never seen that before.
Double equals means equals, triple equals means strict equality including type.
Prevents a Boolean true being evaluated to 1 for example
Specific to JS, due to the double equals being type oblivious
Other people have answered, but if you’d like to know more it’s a JavaScript thing:
Strict Equality (===)
Vs
Equality (==)