7 ms·
>let x: 5 # ==> x is now 5 >x: "Hola Mundo" # ==> x has changed types One of the biggest complaints people have about JS is the lack of strict typing. So, th
by Octoth0rpe 7y ago
>let x: 5 # ==> x is now 5
>x: "Hola Mundo" # ==> x has changed types
One of the biggest complaints people have about JS is the lack of strict typing. So, this doesn't appear to solve it.
Inversely, one thing a lot of older JS people dislike (I'm an older JS person, but this doesn't apply to me) is how functional JS is getting, so I don't think this will be very popular with that crowd. Especially considering how many features are being added via the ecmascript proposal process/babel transpiration (eg: https://github.com/tc39/proposal-pipeline-operator https://github.com/tc39/proposal-pipeline-operator)