const myFunc = () => "value";
Here is what the above code is Doing:
1. We declare a variable named myFunc and assign it to an arrow function.
2. The arrow function has no parameters, so the code in the function’s block simply returns the string value “value”.
3. We call myFunc and pass its return value to console.log().