Assertion: slice | /r/CapableOf | accept negative index
Facets:
Source sentences:
text: As you can see, the slice() and substring() methods are roughly the same; the only difference is that the slice() method can accept a negative index, relative to the end of the string.