单项选择题

获取浏览器当前URL中的请求参数(?部分),以下方法正确的是?()

A.location.search
B.location.query
C.history.query
D.window.search