this will fail if we pass `null` as a value of `x`, as `typeof null === 'object'` returns true. _Originally posted by @creage in https://github.com/gridstack/gridstack.js/pull/1038/review_comment/create_