Basic JavaScript Question:
Download Job Interview Questions and Answers PDF
What’s a way to append a value to an array?
Answer:
Way to append a value to an array in JavaScript
arr[arr.length] = value;
arr[arr.length] = value;
Download JavaScript Interview Questions And Answers
PDF
Previous Question | Next Question |
How do you assign object properties? | What is this keyword? |