code: function arrayToWeb(arr) {
      return new ReadableStream({
          start(controller) {
              for (var i = 0; i < arr.length; i++) {
                  controller.enqueue(arr[i]);
              }
              controller.close();
          }
      });
  }
docs: ReadableStream wrapping an array.
  
  @param {Array} arr, the array to wrap into a stream.
  @return {ReadableStream}