单项选择题

Math对象的()方法是返回x的自然对数(底为e)。

A.floor(x)
B.log(x)
C.sin(x)
D.tan(x)