Dezina Posted on Sep 22, 2021 • Edited on Oct 7, 2021 Filter array objects using filter & concat let filterArray1 = result.filter(obj => obj.fieldName === true) let filterArray2 = result.filter(obj => obj.fieldName != true) const sortedResult = filterArray1.concat(filterArray2) Top comments (0) Subscribe Submit Preview Dismiss Code of Conduct • Report abuse
Top comments (0)