if (that == null || "undefined" == typeof that) { return; }
js typeof
原文:https://www.cnblogs.com/enych/p/11566845.html