linwenling
2023-08-08 9f9c41e93df80b48fbcc4d1c2e7748bed8111302
1
2
3
4
5
// we can't use just `it == null` since of `document.all` special case
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
module.exports = function (it) {
  return it === null || it === undefined;
};