I have no idea about this crazy code.
const x = [0];
x == x // True. I understand this
x == !x // True ???
I cannot understand what happen inside javascript and I need someone explain me this case.
I have no idea about this crazy code.
const x = [0];
x == x // True. I understand this
x == !x // True ???
I cannot understand what happen inside javascript and I need someone explain me this case.