我需要从我的 JSON 数组中提取特定参数(字符串)的信息,使用该参数作为属性名称。
let data = file.[argument]; console.log(data)
argument是我用作我要提取的属性名称的参数。 file已定义为我正在从中提取数据的文件。
argument
file
杨__羊羊
相关分类