1// Traditional Function
2function (a, b){
3 return a + b + 100;
4}
5
6// Arrow Function
7(a, b) => a + b + 100;
8
9// Traditional Function (no arguments)
10let a = 4;
11let b = 2;
12function (){
13 return a + b + 100;
14}
15
16// Arrow Function (no arguments)
17let a = 4;
18let b = 2;
19() => a + b + 100;