That part was kind of confusing. I think he was demonstrating that even in cases that you're sure a value is actually constant, someone else could have tampered with the way the underlying Javascript behaves.
ie. There's no way to be sure of anything in Javascript.
I certainly can't speak for all other languages. I think his point was also that other languages provide better ways to validate the input to your function. Which is why he mentioned haskell at the bottom.
13
u/reeferd Aug 27 '16
If the input to a function always is random, then the input is never the same - or am I missing something here?