diff --git a/files/en-us/web/api/document/anchors/index.md b/files/en-us/web/api/document/anchors/index.md index 6221c4543abfb1c..576e7b3036199ca 100644 --- a/files/en-us/web/api/document/anchors/index.md +++ b/files/en-us/web/api/document/anchors/index.md @@ -21,7 +21,7 @@ An {{domxref("HTMLCollection")}}. ```js if (document.anchors.length >= 5) { - dump("found too many anchors"); + console.log("found too many anchors"); } ``` diff --git a/files/en-us/web/api/document_object_model/examples/index.md b/files/en-us/web/api/document_object_model/examples/index.md index 5fec70d40b78b99..efa78b231712f17 100644 --- a/files/en-us/web/api/document_object_model/examples/index.md +++ b/files/en-us/web/api/document_object_model/examples/index.md @@ -159,7 +159,7 @@ const ss = document.styleSheets; for (let i = 0; i < ss.length; i++) { for (let j = 0; j < ss[i].cssRules.length; j++) { - dump(`${ss[i].cssRules[j].selectorText}\n`); + console.log(`${ss[i].cssRules[j].selectorText}\n`); } } ``` diff --git a/files/en-us/web/api/event/comparison_of_event_targets/index.md b/files/en-us/web/api/event/comparison_of_event_targets/index.md index 1f240565a0870c0..fb012f3f4393ca0 100644 --- a/files/en-us/web/api/event/comparison_of_event_targets/index.md +++ b/files/en-us/web/api/event/comparison_of_event_targets/index.md @@ -193,8 +193,8 @@ The `relatedTarget` property for the `mouseover` event holds the node that the m ```xml ```