'morol'.slice();
slice(start?: number, end?: number): string
The index to the beginning of the specified portion of stringObj. Returns a section of a string.
You'll never forget whether String.prototype.slice
takes (start, stop)
or (start, length)
again!