function setNonEnumerableReadOnlyAccessor( obj, prop, getter ) { // eslint-disable-line id-length
	defineProperty( obj, prop, {
		'configurable': false,
		'enumerable': false,
		'get': getter
	});
}
Defines a non-enumerable read-only accessor.

@param {Object} obj - object on which to define the property
@param {(string|symbol)} prop - property name
@param {Function} getter - accessor

@example
function getter() {
    return 'bar';
}

var obj = {};

setNonEnumerableReadOnlyAccessor( obj, 'foo', getter );

try {
    obj.foo = 'boop';
} catch ( err ) {
    console.error( err.message );
}