We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5dec72 commit 54caddaCopy full SHA for 54cadda
src/prototype/dom/dom.js
@@ -1347,14 +1347,14 @@
1347
* Then:
1348
*
1349
* $('australopithecus').firstDescendant();
1350
- * // -> div#homo-herectus
+ * // -> div#homo-erectus
1351
1352
* // the DOM property returns any first node
1353
- * $('homo-herectus').firstChild;
+ * $('homo-erectus').firstChild;
1354
* // -> comment node "Latin is super"
1355
1356
* // this is what we want!
1357
- * $('homo-herectus').firstDescendant();
+ * $('homo-erectus').firstDescendant();
1358
* // -> div#homo-neanderthalensis
1359
**/
1360
function firstDescendant(element) {
0 commit comments