js create a function throw error in another function code example Example: js throw error throw new Error('Whoops!')