Eval response.d dans Jquery Ajax

Quel est l’intérêt de faire ceci:

var resultsArray = (typeof response.d) == 'ssortingng' ? eval('(' + response.d + ')') : response.d; 

Rappel à l’intérieur de onSuccess () de $. (ajax) call?

 var resultsArray = /* assign a value to resultsArray... */ (typeof response.d) == 'ssortingng' ? /* ...if the type of response.d is ssortingng */ eval('(' + response.d + ')') : /* ...then evaluate it as if it was JS code */ response.d; /* ...else just assign it unaltered */