Skip to content

Predict 片段输出

预测输出 简单
workbench

题目

如何许多 direct child DOM 节点做 parent <div> 有?

代码

                  function Row() {
  return (
    <>
      <td>A</td>
      <td>B</td>
    </>
  );
}

<table><tbody><tr><Row /></tr></tbody></table>
// How many <td> elements are inside the <tr>?
                

相关资源

相关课程

查阅不认识的术语

新手友好的术语表用大白话解释编程术语——变量、函数、DOM、Promise 等等。

查看术语表

解读错误信息

用大白话解释常见错误——什么意思、为什么发生、如何修复。

查看错误

动手做项目

通过引导式项目应用所学,含起始代码与解决方案。

查看项目

← 返回主题