单项选择题

在JavaScript中,以下代码能产生输出的是()

A.document.write()
B.window.write()
C.document.confirm()
D.write “The Undefined Function”