javascript first element of array or null code example
Example 1: javascript get first element of array
alert($(ary).first());
Example 2: javascript get first element of array
alert(ary[0])
alert($(ary).first());
alert(ary[0])