摘要: let str = "my string"; 1. str.startsWith('my'); //true2.str.endsWith('my'); //false3.str.includes('str'); //true4.str.repeat(3); //'my string my strin 阅读全文
posted @ 2018-08-24 11:33 大耳朵小虎 阅读(63) 评论(0) 推荐(0) 编辑