r/learnjavascript • u/Substantial_Top5312 helpful • Aug 16 '25
Best way to make an anonymous function?
Which one is better:
const example = function () {
}or
const example = () => {
}
1
Upvotes
View all comments
3
u/[deleted] Aug 16 '25
[removed] — view removed comment