Function Expression

A function expression is part of an assignment and does not get hoisted:

1
2
3
const myFunction = function(): number {
return 1337;
}