function main() { exchange.SetContractType(“swap”) for(var i = 0; i < records.length; i++) Log(exchanges[i].GetRecords()) }
按照视频教程写返回的是 错误 ReferenceError: records is not defined at main (FILE:3)