I have the following code
fs.createWriteStream( fileName, {
flags : 'a',
encoding : 'utf8',
mode : 0644
});
I get a lint error
Octal literals are not allowed in strict mode.
What is the correct way to do this code so I won't get a lint error?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…