imnapo / react-native-cn-quill

Quill rich-text editor for react-native
MIT License
187 stars 74 forks source link

Remove unnecessary condition #102

Open Meruem5 opened 1 year ago

Meruem5 commented 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.