What is the purpose of the following line of JavaScript?
for (p in d) d.hasOwnProperty(p) && h.push([p, d[p]]);
From what I can see it doesn't change nothing. Does it mean: If d has the property p AND p and d[p] can be pushed onto h than the expression is true? Thus, the h.push will never happen if d does not have the property p.
This is exactly why I hate concise code.