I'm not sure how this got started: 'foo' in bar && bar['foo'] but it is overly-complicated. If 'foo' is not `in bar`, then `bar['foo']` will evaluate to undefined (and be false), so the first test is superfluous. [Filed as LPP-5660]