docs: function(seq, script){
      var result = seq.slice();
  
      for(var i = script.length - 1, modify; i >= 0; i--){
          modify = script[i];
          var to = modify[2];
          if(to){
              modify = modify.slice(0, 2).concat(to);
          }
          result.splice.apply(result, modify);
      }
  
      return result;
  }