[英]How do I iterate through an array that is nested inside an object that is in turn nested in an array?
[英]How do I log an object property that is nested in an array inside an array?
基本上,我想打印一個位於此處的對象:
let array = [
[{property: 'text',
property2: 'text'}],
{ property3: 'text',
property4: 'text'}];
謝謝你。
弄清楚了。
console.log(array[position].property)
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.