---
title: Playlist
framework: tvmljs
role: symbol
role_heading: Instance Method
path: tvmljs/playlist/1627336-playlist
---

# Playlist

Creates a new playlist object.

## Declaration

```data
new Playlist();
```

## Return Value

Return Value An empty playlist array.

## Discussion

Discussion After creating a new playlist, use the push method to add new media items to the end of the playlist.

## See Also

### Modifying the Playlist

- [item](tvmljs/playlist/1627377-item.md)
- [length](tvmljs/playlist/1627327-length.md)
- [pop](tvmljs/playlist/1627310-pop.md)
- [push](tvmljs/playlist/1627433-push.md)
- [splice](tvmljs/playlist/1627367-splice.md)
