Tuesday, 1 October 2013

Memory Allocation in Javascript for duplicate object

Memory Allocation in Javascript for duplicate object

Let's assume that
ajaxresponse is 5mb which i get from an ajax call.
function(ajaxresponse){
var ajaxdata = ajaxresponse;
then
var ajaxdata2 = ajaxresponse;
}
Would 10 mb be utilized or 5 mb.

No comments:

Post a Comment