re: Different type of functions in JavaScript VIEW POST

VIEW FULL DISCUSSION

Nice article. Small comment, on the third arrow function example, when you write :

const noise2 = _ => console.log("Pling");

There's an unused parameter named _ instead of no parameter. Both are valid anyway, just wanted to point out the difference ;)

Yeah! It's intentional. Only for showing variation. Thanks so much for your comment.

code of conduct - report abuse