I've two arrays with the same value & length, but they are not arranged. example:
var x = ['tom', 'jerry', 'duck'], y = ['jerry', 'duck', 'tom']
Now how can I check whether they are equal or not using javascript?
Note:
Aucun commentaire:
Enregistrer un commentaire