单项选择题

var person={name:‘张三’age:23,loves:[’basketball’,’football’],friend:{name:‘李四’}}以上代码中有几份基本类型的数据?()

A.1
B.2
C.3
D.4