[jsinterp] 'reverse' modifies the array in place (fixes #3334)