{/* */} чтобы обернуть текст комментария. div , не изменяя существующие элементы h1 или p . JSX должен возвращать элемент div .
testString: 'assert(JSX.type === "div", "The constant JSX should return a div element.");'
- text: div должен содержать тег h1 как первый элемент.
testString: 'assert(JSX.props.children[0].type === "h1", "The div should contain an h1 tag as the first element.");'
- text: В div должен быть тег p как второй элемент.
testString: 'assert(JSX.props.children[1].type === "p", "The div should contain a p tag as the second element.");'
- text: JSX должен содержать комментарий.
testString: 'getUserInput => assert(getUserInput("index").includes("/*") && getUserInput("index").includes("*/"), "The JSX should include a comment.");'
```
Here's a subtitle