taking the index to check the item done

if the item equals thisValue(third argument), push item into this array
by adding thisArray to return thisField