I started a course of nodejs and the instructor said the following code:
modules.exports.addNote = function(){}
Would be replaced by:
modules.exports.addNote = () => {}
What would be the difference from one to another and why use one and not another?