These look the same - are they?

Welcome to the Get Help category!

});
fileStream.write(`They were out of: ${line}\n`); 
};
type or paste code here

The second code set has a semicolon after the line & before the curly bracket; the first does not. The reason I ask is that I did not use the semicolon and it was marked as an error because the solution used one.
Also (unrelated), is there an article on line spacing that I can read to understand the spacing protocol? It seems lack of enough line spacing also creates errors in these exercises. Thanks

input: fs.createReadStream('shoppingList.txt')
});
`The first coding did not make it into the message box``

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.