The JavaScript specification says about null : null is a primitive value that represents the intentional absence of any object value . If you see null (either assigned to a variable or returned by a function), then at that place should have been an object, but for some reason, an object wasn’t created.