JavaScript數據類型(部分)

1.String a.charCodeAt 的作用是獲取字符的 Unicode 編碼,俗稱 「Unicode 碼點」。fromCharCode 是 String 對象上的靜態方法,作用是根據 Unicode 編碼返回對應的字符。   b. substr(start [, length]) substring(start [, end]) slice(start [, end]) [substrin
相關文章
相關標籤/搜索