ES6新增方法
1. str.includes()
判斷一個字符串中是否包含某個元素(字符串),返回 true/false
2. str.startsWith() && str.endsWith()
判斷一個字符串是否以某個字符開頭或結尾,返回 true/false
3. str.repeat(num)
對一個字符串重複num次
4. str.padStart() && str.padEnd()
填充字符串:往前填充 // 往後填充
參數:整個字符串長度 // 填充的東西
返回填充後的字符串