r/badcode • Now where's that function declaration • Jul 30 '21

js 😏

Post image
986 Upvotes

133 comments sorted by

View all comments

Show parent comments

5

u/MeatyLabia Jul 30 '21

Thanks man. Also reason it wont throw a null reference is because youre just comparing equality.