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?
"then", "catch" and "finally" methods
Movie time
Report a typo
Select one or more options from the list
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.