Stefan_S_from_H@piefed.zip to Microblog Memes@lemmy.worldEnglish · 29 days agoThdpssspsmedia.piefed.zipimagemessage-square59linkfedilinkarrow-up1651file-text
arrow-up1651imageThdpssspsmedia.piefed.zipStefan_S_from_H@piefed.zip to Microblog Memes@lemmy.worldEnglish · 29 days agomessage-square59linkfedilinkfile-text
minus-squaredave@feddit.uklinkfedilinkEnglisharrow-up6·28 days agoYou missed a ‘?’ I think you meant: input?.map?.(item => …
minus-squarepython@lemmy.worldlinkfedilinkEnglisharrow-up3·28 days agooh, you’re right lol The first ?. after input would be more more of a safeguard against input being null/undefined and the .map not existing on it would have to have another ?.
You missed a ‘?’ I think you meant:
input?.map?.(item => …oh, you’re right lol
The first ?. after input would be more more of a safeguard against input being null/undefined and the .map not existing on it would have to have another ?.