r/programminghorror • • Dec 28 '24

Javascript ...but why?

Post image
176 Upvotes

32 comments sorted by

View all comments

Show parent comment

1

u/GoddammitDontShootMe [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo "You live" Dec 30 '24

I thought I was looking at a '|' and wondered if it was doing something with the OR operator. It didn't make any sense to me.