DEVFYI - Developer Resource - FYI

What’s a way to append a value to an array?

JavaScript Interview Questions and Answers


(Continued from previous question...)

61. What’s a way to append a value to an array?

arr[arr.length] = value;

(Continued on next question...)

Other Interview Questions