So passing -N to slice() specifies a start index of str.length - N . const str = 'Coding Beauty'; const last6 = str.slice ...
確定! 回上一頁