dist/u.packed.js
function(val) {
      return val === undefined ? (this.length ? this[0].textContent : null) : this.each(function(index, el) {
        el.textContent = val;
      });
    }
function(val) {
      return val === undefined ? (this.length ? this[0].textContent : null) : this.each(function(index, el) {
        el.textContent = val;
      });
    }
function ( val ) { return val === undefined ? ( this . length ? this [ 0 ] . textContent : null ) : this . each ( function ( index , el ) { el . textContent = val ; } ) ; }
text method
get or set the textContent value
@param  {string}          [val] - text value
@return {(string|object)}         text value or this
text method get or set the textContent value