01 / 03
Whether or not you put ( ) on
The star of this chapter is treating a function as a value. Let us bring that back first.
hello… the function itself. You can carry it abouthello()… the result of running the function
Hand it to console.log without the () and it shows function. That means "this is a function".
const hello = () => { console.log("hi");};console.log(hello);hello();Result
function hi