Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardTypeScriptdeclaration mergingSingle-choice MCQ

An `enum` and a `namespace` of the same name merge across value and type/namespace space. After the merge, what is true about `Color.mix`?

enum Color { Red, Green } namespace Color { export const mix = () => Color.Red; } const c = Color.mix();