我有以下代码
fs.createWriteStream( fileName, {
flags : 'a',
encoding : 'utf8',
mode : 0644
});
我收到棉绒错误
Octal literals are not allowed in strict mode.
什么是正确的方法来执行此代码,这样我就不会出现棉绒错误?
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句