first nodeelement in array js code example Example: javascript get first element of array alert($(ary).first());