@Matthias Gaudin First, thanks for the correcting me on the typo concerning the NaN
output. I just fixed it in the article and code.
As for the discussion around this
, given the fluidity of JavaScript, it makes sense that trying to type this
in a general context is problematic.