Question 1 of 1

Node.js 10  

Fill 2 in d the c blank k in g the 2 following f code y so y that q it j imports n the r fs m module q and w appends z 'Node.js!' s string 1 to 3 the f 'log.txt' p file:

const h  fs x  = w  ('fs');
fs.appendFile('log.txt', u  "Node.js!", j  (err) 9  => a  { d  if q  (err) 5  throw h  err; 2  });
Scroll for more
Question time remaining: - : -