how to get first value in object value array javascript code example Example: javascript get first element of array console.log(ary[0]);