which errors result in termination javascript code example Example: js throw error throw new Error('Whoops!')