1How do you print text if a variable doesn't exist? perchance.orgc/perchance · by Yeetus_McGee@lemmy.world · 185d · 2 comments
on How do you print text if a variable doesn't exist? · c/perchance · 1 pts · 185dUpdate: I believe I figured it out! This line seems to achieve the effect I'm going for: [w.family = w.family || "N/A", ""] However, touching up the code has led me to a new question... How might I go about keeping the randomize button from jittering while the image loads?
Update: I believe I figured it out! This line seems to achieve the effect I'm going for: [w.family = w.family || "N/A", ""]
However, touching up the code has led me to a new question... How might I go about keeping the randomize button from jittering while the image loads?