apparently typeof(null) can be 'object'