it should throw an exception javascript code example Example: js throw error throw new Error('Whoops!')