nuysoft / Mock

A simulation data generator
http://mockjs.com
Other
19.54k stars 2.66k forks source link

mockjs.com/#chineseName的示例有误 #63

Closed JavaCS3 closed 9 years ago

JavaCS3 commented 9 years ago

文档里面的示例是这样子的

Random.chineseName()
// => "林则徐"
Random.chineseName(2)
// => "马云"

然而Random.chineseName(count)的含义是包含几个名,所以Random.chineseName(2)返回马云不成立。希望有所改进!

nuysoft commented 9 years ago

非常感谢 review。 已修正 http://mockjs.com/#chineseName