How can a value be appended to an array?

0

A value can be appended to an array in the given manner -
arr[arr.length] = value;

asked Apr 14, 2023 at 19:13
Sign in to add a comment

0 Answers

0
📝 No answers yet!

Be the first to answer this interview question.

Your Answer

Sign in to post your answer and help the community.