I'd like compare two arrays which not necessary orderly. I tried to use ImmutableJS (fromJS), but it dont work with a unordered arrays. Please, look at example arrays which must be equals
First array
[ { Jnam: 'processor', Ci: 'New York', }, { Jnam: 'keyboard', Ci: 'Washington', }, { Jnam: 'display', Ci: 'Seattle', }, ] Second
[ { Jnam: 'keyboard', Ci: 'Washington', }, { Jnam: 'processor', Ci: 'New York', }, { Ci: 'Seattle', Jnam: 'display', }, ] Could you answer me what you do in that situations?
trueorfalse?