compare arrays
Hello,
How to : compare arrays how many same values in it?
here is an example, but not working: https://codepen.io/lanszelot/pen/PoaEorm
the arrays value could be -red red red red- , or -blue red yellow blue- or any variation.
if one array have more same value /like red red red/ and the other one have only one red it have to count once only.
arrays lenght is same. only the values could be different or equal.
How to : compare arrays how many same values in it?
here is an example, but not working: https://codepen.io/lanszelot/pen/PoaEorm
the arrays value could be -red red red red- , or -blue red yellow blue- or any variation.
if one array have more same value /like red red red/ and the other one have only one red it have to count once only.
arrays lenght is same. only the values could be different or equal.

