!== should be ===

made a mistake when converting "typeof undefined" to "equals void 0"