Stefan_S_from_H@piefed.zip to Microblog Memes@lemmy.worldEnglish · 2 months agoThdpssspsmedia.piefed.zipimagemessage-square58linkfedilinkarrow-up1651arrow-down111file-text
arrow-up1640arrow-down1imageThdpssspsmedia.piefed.zipStefan_S_from_H@piefed.zip to Microblog Memes@lemmy.worldEnglish · 2 months agomessage-square58linkfedilinkfile-text
minus-squaredave@feddit.uklinkfedilinkEnglisharrow-up6·2 months agoYou missed a ‘?’ I think you meant: input?.map?.(item => …
minus-squarepython@lemmy.worldlinkfedilinkEnglisharrow-up3·2 months 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 ?.