For those unfamiliar with JS: subValue (the first argument in the forEach callback) is the value contained at arr[index].