摘要: 数据类型:字符串值,数值,布尔值,数组,对象。 一,typeof——用来确定javascript变量的类型 var str = 'xiaomi'; console.log(typeof(str)); > string 二,string 字符串的方法 1、charAt(index) 方法从一个字符串中 阅读全文
posted @ 2019-07-01 15:54 烟雨凡尘 阅读(131) 评论(0) 推荐(0)