Domanda di colloquio di Whitespectre

How do let and const work? Is the statement valid: const obj = {}; obj.a = 2;