pkmnq @pkmnq

hey why didn’t you post this from the TBGs instead

gilbert189 @gilbert189

In JavaScript, [] == 0 is true.

In JavaScript, [0] == 0 is also true.

You might assume [] == [0] is true from this.

But no. JavaScript says it's false.

Jan 20, 2023, 11:04 PM
3
Jan 21, 2023, 2:20 AM
3
View all

comments

Highlighted comment

I was going to show that to Scratch

but I decided not to