catchcatches both thrown error and promiserejectcall- In a chain of
thenerror in each step can be handled at the end
Next: Promise APIs
catch catches both thrown error and promise reject callthen error in each step can be handled at the endNext: Promise APIs