const s = 'Hello world!' s.user = 'Jack'; // no error if used without 'use-strict' console.log(s.user); // undefined
foo.bar = 'abc';