如果,id不是字符串的話,function $(id){ return typeof id==='string'?document.getElementById(id):id; }這段代碼不就沒意義了是嗎
如果,id不是字符串的話,
靈嘯月
2016-06-13 18:05:23