cynwrig.js
function addProperty(prop, func){
  Object.defineProperty(String.prototype, prop, {
    enumerable: true,
    configurable: false,
    get: func
  });
}
function addProperty(prop, func){
  Object.defineProperty(String.prototype, prop, {
    enumerable: true,
    configurable: false,
    get: func
  });
}
function addProperty ( prop , func ) { Object . defineProperty ( String . prototype , prop , { enumerable : true , configurable : false , get : func } ) ; }
add the property to be used with the String object
add the property to be used with the String object