求教JS prototype的问题

var createObjA = {};
cc.log(createObjA.prototype);//为什么是undefined
cc.log(createObjA.prototype.toString());//但是这样又可以使用

我用的是cocos code ide

好吧 cc.log(createObjA.prototype.toString());//但是这样又可以使用 这可能是我写错了 现在会报错
但是还是没能理解 为什么prototype是undefined 书上明明写的是这样定义就继承了Object的prototype