【JS】String对象

时间:2021-04-26 13:24:50   收藏:0   阅读:0

var s1 = "hello" ;

var s2 = new String("world")

JavaScript String 对象:

https://www.w3school.com.cn/jsref/jsref_obj_string.asp

 

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!