1.

What Is Meant By Splicing Arrays Explain In Context Of List And Scalar.

Answer»

SPLICING an ARRAY means adding elements from a list to that array, possibly replacing elements now in the array. In list context, the SPLICE function returns the elements removed from the array. In scalar context, the splice function returns the LAST element removed.

Splicing an array means adding elements from a list to that array, possibly replacing elements now in the array. In list context, the splice function returns the elements removed from the array. In scalar context, the splice function returns the last element removed.



Discussion

No Comment Found