js判断是否为undefined

typeof(isadmin)=="undefined"需要使用typeof才能判断

原文地址:https://www.cnblogs.com/weiyiyong/p/7620078.html