Introduction
A reference lets you create a new name for an existing variable. It helps you work with the same data without copying it.
When you want to change a variable inside a function without copying it.
When you want to avoid copying large data like big arrays or objects.
When you want to make your code easier to read by using a simpler name for a variable.
When you want to pass variables to functions efficiently.
When you want to return a variable from a function without copying it.