I was just leafing through the book and ended up reading half of it.

What does I was just leafing through the book and ended up reading half of it. mean?

I was just leafing through the book and ended up reading half of it.

I was just leafing through the book and ended up reading half of it. in other languages