Parameters: It accept two parameters which are specified below-
- typedarray: It is the source array.
- offset: It is optional and it is into the typedArray at which to begin setting the values. Its default values is zero (0).
Return value: It returns the new formed typedArray.
0,0,0,1,2,3,4,0 0,0,0,0,1,2,3,5,6,0,0,0 0,0,0,0,0,1,2,0,0,0,0,0,0,0,0,0