Let's begin
JavaScript Question Answers:
Q1: How to delete the array with it's reference?
We can simply make it's length =0 as a result the array reference and array would be removed.
we can initialize array again to empty array but still reference would be left so we need to make it's length =0
We can simply make it's length =0 as a result the array reference and array would be removed.
we can initialize array again to empty array but still reference would be left so we need to make it's length =0
See result on jsfiddle
Comments
Post a Comment