const a = Symbol(); const obj = { a: 1, [a]: 1}; let r = 0;
if (a in obj) r += obj[a];
if("a" in obj) r += obj.a;