JAVASCRIPT Questions and Answers

How can a value be appended to an array?

A value can be appended to an array in the given manner –

arr[arr.length] = value;