Computer scienceProgramming languagesJavaScriptAdvanced featuresPromise

"then", "catch" and "finally" methods

Movie time

Report a typo

Imagine you want to download a movie and you create a promise for that. In case of success, the movie starts playing immediately, and in case of failure, an error appears. Which of the following options would work for that?

Select one or more options from the list
___

Create a free account to access the full topic