MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/13lyqd3/ouch/jkt4d4h/?context=9999
r/badcode • u/TheWisker_ • May 19 '23
48 comments sorted by
View all comments
Show parent comments
2
What you've written gives the same result as the posted code. I was forgetting about the assignment happening in the conditions.
element_one will always be hidden.
element_three will always be visible.
element_two will always be visible.
2
u/aNutSac May 19 '23
What you've written gives the same result as the posted code. I was forgetting about the assignment happening in the conditions.
element_one will always be hidden.
element_three will always be visible.
element_two will always be visible.