6. slice(): This method returns the data with the index written in its syntax. The way this works is that we give a starting index and an ending index, the starting index is inclusive and the ending index is exclusive. let names = ['aayush','john','e...