Breakdown of megane o tsukue no ue ni okippanashi ni shite, dekakete shimaimashita.
Questions & Answers about megane o tsukue no ue ni okippanashi ni shite, dekakete shimaimashita.
を marks the direct object of the action.
Here, the verb idea is 置く/置きっぱなしにする, so 眼鏡を means the glasses are the thing being left behind.
A literal breakdown is:
- 眼鏡を = the glasses
- 机の上に = on the desk
- 置きっぱなしにして = leaving them there / leaving them as they were placed
- 出かけてしまいました = went out, unfortunately / ended up going out
So 眼鏡 is what was left behind, which is why it takes を.
Because 置く takes に for the place where something is put.
- 机の上に置く = to put something on top of the desk
- 机の上で置く would sound unnatural here
A useful contrast:
- に marks the destination or resulting location of placement
- 本を机の上に置く
- で marks the place where an action happens
- 机の上で勉強する
Since the glasses end up on the desk, に is the natural choice.
