I have this array which when there is only one item left in the array, causes the array to be set to undefined.
Basically, this:
var array = {"example"}
To do this I say this:
if (array[1] == NULL){
compiled = undefined;
}
info.add('assignment', compiled);
info.save(null, {
success:function(){//Whatever};
The problem is that parse does not update the object with the value undefined.
Any help?