2018年web前端經典面試題及答案

     javascript:  JavaScript中如何檢測一個變量是一個String類型?請寫出函數實現 方法一、javascript function isString(obj){ return typeof(obj) === "string"? true: false; // returntypeof obj === "string"? true: false; }
相關文章
相關標籤/搜索