Nitpick, should be !== not != - === is true equality, without type conversion, whereas == coerces. Same on != vs !==