"She comes out of the market."
Translation:Dia keluar dari pasar.
Dia keluar dari pasarnya ==> that would be translated as :
She comes out of her market.
He comes out his market.
'-nya' would function as a third person possessive in a sentence like this, referring to 'dia' as the possessor.
The English sentence requires an article ("the market" or "a market").
Indonesian doesn't use articles.
The Indonesian sentence works fine without it.
If you want to translate the definite article "the" as well, and use it in the Indonesian sentence, then you can add the word "itu" in the Indonesian sentence ("itu" = "that").
Something like this :
Dia keluar dari pasar itu.
She comes out of that market.