Javascript array

js interview questions