addCue

The addCue() method of the TextTrack interface adds a new cue to the list of cues.

MDN Reference