在Json中调用数组

ima*_*oki 0 javascript json

我们有像json这样的数据

Orgnaizationunit [ 
{"name":london , "Coordinates":[39.78,22.30]} , 
{"name" : Newyork, "Coordinates":[39.81,22.37}
]
Run Code Online (Sandbox Code Playgroud)

在JavaScript中,我们可以将数组中的第一个元素称为

Organizationunit[0].name
Run Code Online (Sandbox Code Playgroud)

我想知道如何调用坐标.我称之为

Organizationunit[0].Coordinates[0][1] 
Run Code Online (Sandbox Code Playgroud)

但我得到未定义的错误

Ale*_* T. 6

像这样

var Orgnaizationunit = [ 
  {"name": 'london', "Coordinates":[39.78,22.30]}, 
  {"name": 'Newyork', "Coordinates":[39.81,22.37]}
];
   
console.log(Orgnaizationunit[0].Coordinates[0]);
console.log(Orgnaizationunit[0].Coordinates[1]);
Run Code Online (Sandbox Code Playgroud)