by VeejayRampay · 12y ago · 0 comments
The only way is to use:
for(var key in obj) {...}
As for interpolation, I indeed missed the bit about quasis. Though I really wonder why they would still use concatenation if they can interpolate... Maybe to only show one feature at a time, which I guess makes sense. Object.keys(obj).forEach(function (key) {
var val = obj[key];
// use key and val here
}); x.forEach(f);
but rather items(x).forEach(x);
which is definitely possible, you just need to implement items().