There seems to be a problem in JSLint. I cannot get get / set script to check in JSLint. Your syntax seems correct, and according to Douglas' initial message regarding setter validation.
edit: , : -)
var myObject = {};
(function () {
var myProp = 'myDefault';
Object.defineProperty(myObject, 'myProp',
{
enumerable: false,
configurable: true,
get: function () {
return myProp;
},
set: function (value) {
myProp = value + ' lala';
}
});
}());