lib/type/list.js
function lset(index, value) {
  if(index < 0) index = this._data.length + index;
  // command should validate the index
  if(index < 0 || index >= this._data.length) return null;
  this._data[index] = value;
}
function lset(index, value) {
  if(index < 0) index = this._data.length + index;
  // command should validate the index
  if(index < 0 || index >= this._data.length) return null;
  this._data[index] = value;
}
function lset ( index , value ) { if ( index < 0 ) index = this . _data . length + index ; // command should validate the index if ( index < 0 || index >= this . _data . length ) return null ; this . _data [ index ] = value ; }
Sets the list element at index to value.
Sets the list element at index to value .