var p = this.getParams();
var pD = (o.params||{});
if (this.useJsonData) pD = (pD.jsonData||{});
this.cursor = (pD && pD[p.start]) ? pD[p.start] : 0;
And what is the difference between these two lines.
this.cursor = pD[p.start] || this.cursor || 0;
Is the first code fine or there is any fault in it.