var arr = []; for (var i = 0; i < 3; i++) { arr.push([i,[s:'test'+i]]); } ClientData.NewsClient.cache = arr