Correct docs in JS Array implementation