Reference API

Reference

Allows storing a reference to existing variable in the same scope.

obj Reference {
}

NOTE:

Reference inherits all fields and methods from variable it refers to, therefore it has no own properties.
The only difference between original variable and reference, is when you print reference it will print memory address of variable it refers to.