How can you create a function in Javascript?
A function is created with an expression that starts with the keyword function.
With or without a set of parameters.
What is the difference between var and let in regards to scope?
let and const use block scoping, they won’t appear locally. Var uses the
global scope if they are not declared in a function.
What is a pure function?
A pure function is a specific kind of value-producing function that not only
has no side effects but also doesn’t rely on side effects from other code