javascript typeof id==='string'?document.getElementById(id):id解释 原创