Note: This feature is available in Dedicated Web Workers.
The length property of the ImageTrackList interface returns the length of the ImageTrackList.
An integer.
The following example prints the value of length to the console.
let tracks = imageDecoder.tracks;
console.log(tracks.length);