To elaborate slightly, there are two syntax issues here.
The first is that cells are either expressions or block statements (not programs), so if you want to define two object literals in the same cell, you have to put them both in a block statement:
The second issue is that, if you use the expression form of a cell, you need to wrap object literals with parentheses, as @Fil mentioned.
The way to think about cells is that they are like bodies of arrow functions. So, if you want to write an arrow function that returns an object, you’d say:
() => ({a: "a"})
And similarly if you want to write an arrow function that defines two object literals, you’d say: