Say I have an object:
elmo = { color: \'red\', annoying: true, height: \'unknown\', meta: { one: \'1\', two: \'2\'} };
I want to m
One more solution:
var subset = { color: elmo.color, height: elmo.height }
This looks far more readable to me than pretty much any answer so far, but maybe that's just me!