myObjects.map(function(obj){ if(!obj.date2){ obj['date2'] = obj['date']; }}); let orderedObjects = _.orderBy(myObjects, 'date2', true);
確定! 回上一頁