Includes Function In Javascript Array Length Undefined Line