I don't know JavaScript: Promises & typeof null == "object"
My plan for this blog isn’t to make it a place to vent anger and frustration, don’t count this post as one, this post is about sharing learning experience and impressions. Last night I spent around 6 hours to investigate an issue in a failing javascript test, simply because I didn’t realize that this condition may ever pass: if(typeof null == 'object') .... I mean, Seriously ? that wasn’t expected at all....