1.

What Are The Three Ways To Empty An Array?

Answer»

The three different ways to EMPTY an ARRAY are as follows
1) You can empty an array by setting its length to a negative NUMBER.
2) Another WAY of empting an array is to assign the null list ().
3) Try to clear an array by setting it to undef, but be aware when you set to undef.

The three different ways to empty an array are as follows
1) You can empty an array by setting its length to a negative number.
2) Another way of empting an array is to assign the null list ().
3) Try to clear an array by setting it to undef, but be aware when you set to undef.



Discussion

No Comment Found