Soliditas array dinamis

var myContract;
var rowToGet = 0; // 1,2,3
var instance = MyContract.Deployed()
  .then(function(instance) {
    myContract = instance;
    return myContract.myBytesArray(rowToGet);
  })
  .then(function(response) {
    console.log(response); // one element of the array
  });
}
Vitalik-Hakim