Reputation: 662
I have few Questions. All related to cloning an object in Parse.com.
extend
method. I tried to use $.extend({}, object1, object2)
but parse.com doesn't seem to recognize $ or jquery. request
object which I need to clone and another UserInfoList
object which I need to clone ? One way is that I clone them manually and insert each field in the new object. Is there a better way to do it ?
Upvotes: 1
Views: 1605
Reputation: 468
From the Parse.Object Documentation you can object2 = object1.clone()
Upvotes: 2