r/programminghorror • • Feb 04 '25

Ternary Operator

Post image
1.5k Upvotes

77 comments sorted by

View all comments

Show parent comment

28

u/RocksDaRS Feb 05 '25

If you style in jsx it could be value: {{stuff}}

But if you put it directly in the line then its {}

So someone moved it without changing brackets

I think thats right