Who would win batman or the justice league?

actually in one justice league comic book batman got mad and actually fought and won over the justice league so yeah and if justice league can beat the avengers then batman can beat the avengers