9.
What does this React element look like given the following function?
React.createElement('h1', null, "What time is it?");
<h1></h1>
<h1 props={null}>"What time is it?"</h1>
<h1>null</h1>
<h1>What time is it?</h1>
Correct: D
The React.createElement is a function used to define and structure elements or components by specifying their type, properties, and content: createElement(type, props, ...children). In this case, it creates an <h1> element with the text content "What time is it?"