Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var test = function() {
- Object.defineProperty(this, 'test1',
- {get: function() { console.log('deneme'); } });
- }
- var ts = new test();
- ts(); -> i want this code run a test1 property this possible ?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement