a function declared and still throwing an error js code example Example: js throw error throw new Error('Whoops!')