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