How can a value be appended to an array?
This task can be accomplished by using push() method. It adds new items to the end of the particular array and then returns the new length, accordingly.
How can a value be appended to an array?
This task can be accomplished by using push() method. It adds new items to the end of the particular array and then returns the new length, accordingly.