function $(id) { return typeof id === "string" ? document.getElementById(id) : id; } 这句代码什么意思? 如果id的变量 相关文章: