var oStr = `abcd`;
[...oStr] // [a,b,c,d]
oStr.split('') // [a,b,c,d]
oStr.split('').reverse().join(``) // `dcba`
oStr.repeat(2) // `abcdabcd`
oStr.startWith(`ab`) // true
oStr.endWith(`cd`) // true
oStr.padStart(7,`*#`) // *#*abcd
oStr.padEnd(7,`*#`) // abcd*#*
oStr[1] // b
[oStr[0].toUpperCase(),...oStr.substr(1)].join(``) // Abcd
--------------------------------
var oStr_reg = `abcdvacabfd`;
oStr_reg.replace(/.{2}(?=ab)/g,'##')// abcdv##abfd
var str='1234567890';
var reg=/(?=(\B)(\d{3})+$)/g;
str.replace(reg,',') // "1,234,567,890"
var a = 'click me';
document.body.innerHtml=a.link(`www.baidu.com`);