I get this error on the next line (for the expression var blocks = [];)
<string name="app_name">getbackbreakedblocksmod</string> <string name="code"> var blocks = []; function destroyBlock(x,y,z,a){ var id = getTile(x,y,z); blocks.push({x:x,y:y,z:z,blockid:id});} function procCmd(c){ if(c=='g'){ blocks.forEach(function(block){ setTile(block.x,block.y,block.z,block.blockid); }); } }</string>