JRJon Randy@jonrandy·5d0e8b80fPop quiz. Give me your shortest JS to get the last non-empty element from an array1Quote
JJPetsis@JPetsis·5d2f5caccjsarr.findLast(v => v != null && v !== '' && (typeof v !== 'object' || Object.keys(v).length))08:20 · Nov 13, 2026 · commit 2f5caccQuoteReplyHide repliesJRJon Randy@jonrandy·5dDoesn't find the last non-empty elementShow threadReply