const a = {foo: 5}; a.foo = 42; // This is perfectly valid. a = 'nope'; // But this isn't. It raises a SyntaxError.
It was to show how they want you to always use const with complex types.