rnathani10/31/2018, 1:12 PM
Nikita Khlebushkin10/31/2018, 2:24 PM
Czar10/31/2018, 2:24 PM
var yourObject = YourObject(/* params */) yourObject = YourObject(/* params */)
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.