ES2018 introduced the "finally" method for promises. The finally method is called whether the promise is successful or not.