我想读取本地txt文件,网上查找推荐使用jsb.fileUtils,但是我使用第一步就报错,求指教

onLoad:function () {
//cc.loader.release();
cc.game.setFrameRate(10);
var path = jsb.fileUtils.getWritablePath();
console.log(path);}代码如上述

上传中…
报错问题:Uncaught ReferenceError: jsb is not defined


