1 plus 1
function OnePlusOne(){ return 1 + 1; } console.log(OnePlusOne())
Here is what the above code is Doing:
1. We define a function called OnePlusOne.
2. We return the value of 1 + 1.
3. We call the function OnePlusOne and log the result to the console.