function ex1 ( ) { return fetch ( "https://microsoft.com" ) . then ( result => result . ok ) ; } function ex2 ( ) { return fetch ( "https://microsoft.com" ) . then ( result => console . log ( result ) , rej => console . log ( "error" , rej ) ) ; } function ex3 ( ) { return fetch ( "https://microsoft.com" ) . then ( result => console . log ( result ) ) . catch ( err => console . log ( err ) ) ; } export { } ;