Unconfirmed and probably untrue :/
HN user
abaco
Here's the medium link https://medium.com/the-mission/met-1-stranger-every-day-in-2...
Well that's because this is checking if a value may be a valid number. It's not safely converting the value to a number. That's done after a parseFloat()
FFS read the code before spouting random stuff.
(!isNaN('100') && isFinite('100'))
Negation (!) before isNaN()
And this is the reason why Google is that worried about 'european privacy'. Being less reliant on american companies is not that bad for the rest of the world.
I am italian, would be surprise if a member of our government is even able to switch on a computer.
But I know that in Germany (for example) this problem is a big thing http://www.zdnet.com/worried-about-your-email-security-in-ge...
Problem is quite a few european countries right now don't trust american companies anymore so they are working on their own mail service, cloud, network and hardware components, ... (you know if american companies agreed with american government to spy on us they kinda deserve a nice fk off).
So who is damaged by this european behaviour? American companies. And now Google is suddenly concerned about our privacy.
Middle finger?
A general example would be good :)
Bit confused (ignorant actually) here. Can someone give a 'real world' example of the benefits of immutabile objects in js?