I know that i can check a specific value in a specific index, for example - to check for the value at index 0:
sinon.assert.match(myArr[0], someValue)
But how do i check if someValue is anywhere in myArr?
someValue
myArr
Aucun commentaire:
Enregistrer un commentaire