if判断空值,undefined,null

let verification = ["", null, undefined, "null", "undefined"];
verification.includes([] + "")

posted @ 2021-11-26 09:18  yoona-lin  阅读(210)  评论(0编辑  收藏  举报