Does Java Contains Function Javascript Mdn Array Reduceright