JRJon Randy@jonrandy·6d0e8b80fPop quiz. Give me your shortest JS to get the last non-empty element from an array1Quote
JRJon Randy@jonrandy·6d9fe4bb1That doesn't do what I asked07:46 · Nov 13, 2026 · commit 9fe4bb1QuoteReplyHide repliesRKRichard Keep@richardkeep·6djsarr.findLast(x => x != null && x !== '')Reply1 reply