Difference from functions and arrow functions?

Been watching a few tutorials lately for normal JS and React and see people use functions and arrow functions, is there any real difference between the two? Should i be using one over the other?
3 Replies
13eck
13eck•2y ago
Arrow function expressions - JavaScript | MDN
An arrow function expression is a compact alternative to a traditional function expression, but is limited and can't be used in all situations.
13eck
13eck•2y ago
They're mostly the same but have a few differences. Mainly with scope and the this keyword
𓆩panda𓆪
ahh i see thank you!