var person = {}; Object.defineProperty(person, 'name', { value: 'monkeyliu' }); for(var i in person) { console.log(i); }