Answers for "check array values equal js"

2

check array values equal js

[1,1,1,1].every( (val, i, arr) => val === arr[0] )   // true
Posted by: Guest on April-21-2020

Code answers related to "check array values equal js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language