News for hackers. Stuff that matters.
Re:Node v8.0.0 Released by bfred_it on Tuesday May 30, 2017 @10:32PM (#14450087)
It "works" but foo won't contain the resolved value, just the promise.

The code is awaiting an array, which is already "resolved" and its returned right away. Its contents are not relevant to `await`.

Re:Node v8.0.0 Released by abritinthebay on Wednesday May 31, 2017 @01:50AM (#14450642)
You are correct! My apologies = I misremembered how that works >_<

Yes, once you have a promise you have to deal with it as such through the whole chain.