get help in general - we have more specialized help rooms here: https://gitter.im/FreeCodeCamp/home
may the code be with you
hehe
how would someone loop through this?
let data = [{prop:val},{prop:val},{prop:val},{prop:val},{prop:val},{prop:val},{prop:val}];
for..of
for (let obj of data) {
console.log(obj);
}
data
is already an array
Object.assign(...data)
{
prop:val,
prop:val,
prop:val,
..and so on
}
[{prop:val},{prop:val},{prop:val},{prop:val},{prop:val},{prop:val},{prop:val}];
const data = [{one: 1}, {two: 2}, {three: 3}]
const newData = data.reduce( (b,v) => Object.assign(b,v) ,{})
console.log( newData ) // shoule print {one: 1, two: 2, three: 3}
Object.assign
:D
...
as i don't know how many objects will there be
(butter ... bread)
const legs = [{cows: 4}, {chicken:2}, {birds: 2}]
Allow pages to choose their own fonts, instead of your selections above
. under Fonts & Colors in firefox preferences :tired_face: