isSameNode (div_b)); //false console.log(div_a. fi rstChild. ... isSameNode(div_b)); //true </script>這個例子中,div_a和div_b是兩個div類型的Node節點, ...
確定! 回上一頁