Open Meruem5 opened 1 year ago
const a = [] a === [] // This is going to return false always
This condition will always return 'false' since JavaScript compares objects by reference, not value.