Hi there,
I am trying to figure out how I can add getters and setters using the code generate menu.
code:
var myObj = { config: { _strict; }, ... other code ...
}
and I need:
var myObj = { config: { _strict; }, ... other code ... getStrict: function() { return this.config._strict; }, setStrict: function(value) { this.config._strict = value; }
}
---
Original message URL: https://devnet.jetbrains.com/message/5538366#5538366