Skip to main content
Journey Uncommon Logo
JourneyUncommon
easyReactembedding expressionsSingle-choice MCQ

In JSX, the curly braces { } let you embed a JavaScript value into your markup. Which of these can you put directly inside the braces?

function Greeting({ name }) { return <h1>Hello, {/* ??? */}</h1>; }