Why i am getting undefined?
<p>Here is my code:</p>

<pre><code>var person = {
    name: 'Greg',
    year: 20
};
Object.defineProperties(person, {
    gender :{
        value: 'male'
    },
    edition : {
        value : 12
    },
    edition : {
        set:function  (No) {
            if (No===13) {
                console.log('Yes')
            };
        }
    }

})
console.log(person.edition)
</code></pre>

<p>looks like i did all right, did not change descriptors
any ideas?
thanks</p>