
1、毛病描写
> buf=new Buffer("我爱你,簌簌簌簌簌');SyntaxError: Unexpected token ILLEgal at Object.exports.createScript (vm.Js:24:10) at REPLServer.defaultEval (repl.Js:235:25) at bound (domain.Js:287:14) at REPLServer.runBound [as eval] (domain.Js:300:12) at REPLServer.<anonymous> (repl.Js:431:12) at emitOne (events.Js:82:20) at REPLServer.emit (events.Js:169:7) at REPLServer.Interface._online (readline.Js:211:10) at REPLServer.Interface._line (readline.Js:550:8) at REPLServer.Interface._ttyWrite (readline.Js:827:14)>
2、毛病缘由
单双引号混用,致使出现毛病
3、解决办法
> buf=new Buffer('我爱你,簌簌簌簌簌');<Buffer e6 88 91 e7 88 b1 e4 bd a0 ef bc 8c e7 b0 8c e7 b0 8c e7 b0 8c e7 b0 8ce7 b0 8c>>
总结
以上是内存溢出为你收集整理的SyntaxError: Unexpected token ILLEGAL全部内容,希望文章能够帮你解决SyntaxError: Unexpected token ILLEGAL所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)