比如说……整型数组A:
[0,2,3]
数组B:
[
{id:22, name:"aaa"},
{id:1, name:"sss"},
{id:2, name:"qq"},
{id:5, name:"sdd"},
...
]
根据数组A,需要的数据是数组B的[0],[2],[3]位的id……就是[22,2,5]这样……请问要怎么提取呀?
相关分类