throwing an error wthether a number is giving or not in js code example Example: js throw error throw new Error('Whoops!')