JS Object defineProperty


```typeObject.defineProperty(obj, key, {  get: function() {    return val;  },  set: function(newValue) {    val = newValue;  }})```




> [Object.preventExtensions() - JavaScript | MDN](https://developer.mozilla.org/ko/docs/Web/JavaScript/Reference/Global_Objects/Object/preventExtensions)





