ParentFull threadSTRML·Some parens would at least make that more readable: const foo = { ...(bar && {bar}), };View on HN