花里。

导航

2019年1月7日 #

字符串

摘要: 检测类型 var str='king' console.log(typeof str); string var strObj=new String('king'); console.log(typeof strObj); object console.log(strObj[ 0 ]); 结果为k o 阅读全文

posted @ 2019-01-07 15:09 花里。 阅读(128) 评论(0) 推荐(0) 编辑