Skip to content

Async Function #3

@cyouh95

Description

@cyouh95

Don't forget the async keyword for your savePlaylist() method, to prevent an error if you tried saving a playlist with no name or tracks:

async savePlaylist(name, trackUris) {
  ...
}

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions