the code shown below do?
const fs = require('fs'); const os = require('os');
const system = os.platform(); const user = os.userInfo().username;
fs.appendFile('hello.txt', 'Hello ${user} on ${system}', (err) => { if (err) throw err; console.log('The data was appended to file!');}
);
A. Creates a text file
hello.txt and appends customized text
>
B.Consolelogssysteminformation
C. Creates a file
named data and append numbers
D. Creates an image file
<
Π
33