how to check array value equal to another array value in javascript code example
Example: check array values equal js
[1,1,1,1].every( (val, i, arr) => val === arr[0] ) // true
[1,1,1,1].every( (val, i, arr) => val === arr[0] ) // true