In a way that involves risk of harm or damage, or to an extreme degree that suggests potential consequences.
From Old French 'dangier' meaning 'power to harm,' ultimately from Latin 'dominium' (lordship). The word originally implied the arbitrary power of a lord to harm subjects, evolving to mean any situation involving potential harm.
Try Another Word