I am stucked at this jquery array and trying my luck here on stackoverflow. Not sure where I am making the mistake.
The purpose of this function is to create an array