Array Length Method In Javascript