r/transprogrammer • • Jul 16 '24

Javascript bad

Post image
104 Upvotes

35 comments sorted by

View all comments

Show parent comment

1

u/retrosupersayan JSON.parse("{}").gender Jul 17 '24

I guess it depends on how your intuition is calibrated. My first language was Java, which doesn't allow operator overloading, so == can only be reference equality.

2

u/definitelynotagirl99 Jul 18 '24

not explicitly diffrentiating between values and references is the real issue javascript is having in this context.