rnathani
10/31/2018, 1:12 PMNikita Khlebushkin
10/31/2018, 2:24 PMCzar
10/31/2018, 2:24 PMvar yourObject = YourObject(/* params */)
yourObject = YourObject(/* params */)
yourObject
variable will point to a newly create object in this case, while initial one will be inaccessible unless there are other references to it and will be garbage collected at some point.