Node.js 对象jade数组的迭代

Node.js 对象jade数组的迭代,node.js,pug,Node.js,Pug,请帮助我迭代以下对象数组。我可以在控制台中看到对象数组,但无法在jade中迭代它 [{title: "Stamp. The Hobbit", description: "Stamp. <b>The Hobbit</b>. I know it was on Friday …n the day when there was not a lot of creativity.", originalLink: null, summary: null, date: "2017-0

请帮助我迭代以下对象数组。我可以在控制台中看到对象数组,但无法在jade中迭代它

[{title: "Stamp. The Hobbit", description: "Stamp. <b>The Hobbit</b>. I know 
it was on Friday …n the day when there was not a lot of creativity.", 
originalLink: null, summary: null, date: "2017-09-25T06:42:50.000Z"}
{title: "Fall/winter Tolkien/LOTR events: your &#39;go-to&#39; list", 
description: "Audiences will thrill to the music from his legend…bbit</b> 
with scores from his films: The&nbsp;...", originalLink: null, summary: 
null, date: "2017-09-25T05:26:15.000Z"},
{title: "Watch what happens when Darth Vader swaps galaxy far, far away ... 
for Middle Earth", description: "The narrative of Middle Earth: Shadow of 
War is ba…nts of <b>The Hobbit</b> and The Lord of&nbsp;...", originalLink: 
null, summary: null, date: "2017-09-25T03:56:15.000Z"}
{title: "The hobbit sword", description: "Posted by alex in kids / baby 
stuff, toys in Munster, Cork. 24 September 2017...210966215.", originalLink: 
null, summary: null, date: "2017-09-24T19:30:12.000Z"}
{title: "The hobbit as high fantasy essay", description: "Im science teacher 
is stupid hes making me write a… like r u serious. Problems of urbanization 
essay", originalLink: null, summary: null, date: "2017-09-24T19:26:02.000Z"}
{title: "Lego The Hobbit Bagend Bundle", description: "Lego <b>The 
Hobbit</b> Bagend Bundle, Used Lego &a…, Dublin, Ireland for 130.00 euros on 
Adverts.ie.", originalLink: null, summary: null, date: "2017-09-
24T10:42:38.000Z"}]

我想你只需要设置value.title如下:

 each value in bbb
     p !{value.title}

希望有帮助。

C:\heroku\checkRepository\views\index.jade:14 12 | 13 |>14 | bbb 15 | p中的每个值!{value.title}16 | 17 |无法读取未定义类型的属性“length”错误:C:\heroku\checkRepository\views\index.jade:14 12 | 13 |>14 | bbb 15 | p中的每个值!{value.title}16 | 17 |无法读取undefinedIt的属性'length'不清楚这是这个问题要解决的真正问题。第一个块是我尝试迭代的对象数组。第二块是我试图迭代的翡翠。
 each value in bbb
     p !{value.title}