Thank you very much for such a useful article! I'd like to contribute to it - I think there is a couple of typos in it (correct me if I'm wrong, but I think those are typos):
though that I would be able to find where the error Object is possibly 'null' is thrown and change it for one of the others errors when the object is a function.
though → thought
when the object is a function → when the object is not a function.
Thank you very much for such a useful article! I'd like to contribute to it - I think there is a couple of typos in it (correct me if I'm wrong, but I think those are typos):
though→ thoughtwhen the object is a function→ when the object isnota function.Thanks, I have updated it :)