ES6新增字符串的操作 2018-03-07 本文已影响0人 sunshineboy00 1.inclouds(),用来判断字符串之间的包含关系 例如 let hw = "Hello World!"; console.log(hw.inclouds("o")) //输出 true