javascript get Three elements object code example Example: object to array javascript Object.values(obj)