i did not understand string or string method.
please explain this topic.
String or string method (javascript)
In this functions explained are:
slice() and substring() both are same but slice can have negative positions.
And in substr() method first parameter is starting position and second is length of substring.