单项选择题

以下哪个JavaScript方法用于向浏览器添加一个新的历史记录?()

A.window.history.back()
B.window.history.forward()
C.window.history.pushState()
D.window.history.replaceState()