Introduction
References let us use another name for a variable. This helps us change the original data without copying it.
When you want to change a variable inside a function and keep the change outside.
When you want to avoid copying large data like big arrays or objects to save memory.
When you want to make code easier to read by using simpler names for variables.
When you want to pass variables to functions quickly without making copies.
When you want to return multiple values from a function by changing variables passed in.