minus-squareSerahph@lemmy.worldtoProgramming@programming.dev•[Help] JS array with getter by ID ?linkfedilinkEnglisharrow-up2·1 year agoHave you considered storing as a Map instead? MDN Map docs linkfedilink
minus-squareSerahph@lemmy.worldtoLiftoff!@lemmy.world•Button to return to the top of feed?linkfedilinkEnglisharrow-up3·1 year agoThe three dot menu in the top bar has a scroll to top button in it linkfedilink
Have you considered storing as a Map instead?
MDN Map docs