---
title: "Discussion on \"Implementing the DOM contains() method\" | Hashnode"
description: "Discussion on \"Implementing the DOM contains() method\". Implementing the DOM contains() method using 4 different approaches."
url: "https://hashnode.com/posts/implementing-the-dom-contains-method/60e493234aacd63048243a35"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Implementing the DOM contains() method](https://blog.lakbychance.com/implementing-the-dom-contains-method?utm_source=hashnode&utm_medium=feed)

Implementing the DOM contains() method using 4 different approaches.

Jul 6, 2021 · 4 min read · blog.lakbychance.com  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#algorithms](https://hashnode.com/tag/algorithms)
-   [#data-structures](https://hashnode.com/tag/data-structures)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#frontend-development](https://hashnode.com/tag/frontend-development)

## Written by

[Lakshya Thakur](https://hashnode.com/@lakbychance)

@lakbychance · India

  
[View profile](https://hashnode.com/@lakbychance)

Creatively Curious 👨‍💻 📸 🎶 🤔 new

Have tinkered with JavaScript majorly | I like to solve problems on Stack Overflow, write blog articles, create a side project or do something creative.

## Responses 1

Markdown supported · ⌘↵ to post

[Lukas Gaučas](https://hashnode.com/@projektorius96)

[Jul 6, 2021](https://hashnode.com/posts/implementing-the-dom-contains-method/60e493234aacd63048243a35/comment/60e4a6c1e9aeb8301a6a6c58)

I will consider this article as advanced DOM for **Node.prototype** \[native code\]. It would take some times to play around with the content for oneself, but overall good job!
