Upon the town wall - The town wall probably formed the back wall of the house, and the window opened therefore into the country. (Compare Paul’s escape, 2 Corinthians 11:33).
Related Commentaries of Joshua 2:15
Joshua 2:15
15 Then she let them down by a cord through the window: for her house was upon the town wall, and she dwelt upon the wall.