return item.secondPCode + "haha";
})
console.log(JSON.stringify(hangyu));
console.log(JSON.stringify(arrayAllIndex));
arrayAllIndex:[{"indexName":"总用户量","indexCode":"01010101","secondPCode":"0101","secondPName":"淘房APP"},,{"indexName":"新增成交金额","indexCode":"02010201","secondPCode":"0201","secondPName":"安家贷"},{"indexName":"累计成交金额","indexCode":"02010202","secondPCode":"0201","secondPName":"安家贷"},{"indexName":"新增成交笔数","indexCode":"02010203","secondPCode":"0201","secondPName":"安家贷"},{"indexName":"新增标的数量","indexCode":"02010204","secondPCode":"0201","secondPName":"安家贷"},{"indexName":"新增微信粉丝数","indexCode":"02010301","secondPCode":"0201","secondPName":"安家贷"},{"indexName":"累计微信粉丝数","indexCode":"02010302","secondPCode":"0201","secondPName":"安家贷"},{"indexName":"新增注册人数","indexCode":"02010303","secondPCode":"0201","secondPName":"安家贷"},{"indexName":"累计注册人数","indexCode":"02010304","secondPCode":"0201","secondPName":"安家贷"},{"indexName":"累计投资人数","indexCode":"02010305","secondPCode":"0201","secondPName":"安家贷"},{"indexName":"新增投资人数","indexCode":"02010306","secondPCode":"0201","secondPName":"安家贷"},{"indexName":"新客户投资数","indexCode":"02010307","secondPCode":"0201","secondPName":"安家贷"}]
输出:["0101haha","0201haha","0201haha","0201haha","0201haha","0201haha","0201haha","0201haha","0201haha","0201haha","0201haha","0201haha","0201haha","0201haha","0201haha"]
[{"indexName":"总用户量","indexCode":"01010101","secondPCode":"0101","secondPName":"淘房APP"},,{"indexName":"新增成交金额","indexCode":"02010201","secondPCode":"0201","secondPName":"安家贷"},{"indexName":"累计成交金额","indexCode":"02010202","secondPCode":"0201","secondPName":"安家贷"},{"indexName":"新增成交笔数","indexCode":"02010203","secondPCode":"0201","secondPName":"安家贷"},{"indexName":"新增标的数量","indexCode":"02010204","secondPCode":"0201","secondPName":"安家贷"},{"indexName":"新增微信粉丝数","indexCode":"02010301","secondPCode":"0201","secondPName":"安家贷"},{"indexName":"累计微信粉丝数","indexCode":"02010302","secondPCode":"0201","secondPName":"安家贷"},{"indexName":"新增注册人数","indexCode":"02010303","secondPCode":"0201","secondPName":"安家贷"},{"indexName":"累计注册人数","indexCode":"02010304","secondPCode":"0201","secondPName":"安家贷"},{"indexName":"累计投资人数","indexCode":"02010305","secondPCode":"0201","secondPName":"安家贷"},{"indexName":"新增投资人数","indexCode":"02010306","secondPCode":"0201","secondPName":"安家贷"},{"indexName":"新客户投资数","indexCode":"02010307","secondPCode":"0201","secondPName":"安家贷"}]