import { getFruit } from './3-async-await' ; const badSmoothie = async ( ) => { try { const a = getFruit ( 'pineapple' ) ; const b = getFruit ( 'strawberry' ) ; const smoothie = await Promise . all ( [ a , b ] ) ; throw 'broken!' ; return smoothie ; } catch ( err ) { console . log ( err ) ; throw `💩 It's broken!` ; } } ;