function self(propertyName) {
  return function getOwnProperty() {
    assert(propertyName in this, `No such property: ${propertyName}`);

    return this[propertyName];
  };
}
// Returns a function that gets a property of `this`.
Returns a function that gets a property of `this`.
Returns a function that gets a property of ` this ` .
function self(propertyName) {
  return function getOwnProperty() {
    assert(propertyName in this, `No such property: ${propertyName}`);
    return this[propertyName];
  };
}
function self ( propertyName ) { return function getOwnProperty ( ) { assert ( propertyName in this , ` ${ propertyName } ` ) ; return this [ propertyName ] ; } ; }
Returns a function that gets a property of `this`.
Returns a function that gets a property of ` this ` .