

Let str_greet = new String("Hey! Developers") String samples //Examples of String Objects in Javascript In technical terms, the slice() method can be applied to two types of objects in Javascript: Strings and Arrays.

There are two types of things(more appropriately called objects) which we can get a slice of. What are the things we can get a slice of? In this article we will discuss what are those things, how do we slice them and a few other aspects of the slice() method. All that slice() method does is get us a slice(a portion) of things.

And its definitely for you if you thought there couldn't be an 2500+ words article merely on slice() method.If you have used it earlier and have been planning to get a deeper understanding of it.If you have copied and pasted a chunk of code from stackoverflow which had slice() method but didn't understand the code completely.
