Home>slice() JavaScript String Method>Edit It: Slice items from the end of the given stringEdit It: Slice items from the end of the given stringThis code shows how to slice items from the end of a string.See it on StackBlitz