padStart (10, 'js') // 'jsjsjabcde' 会重复填充的字符串直到目标长度 str.padStart(3, '*') // 'abcde' 如果填充的长度小于当前的字符串长度则返回 ...
確定! 回上一頁