๐พnode.isInPage
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
๐พ replit: node.isInPage
// ๐ธ node.isInPage
Object.defineProperty(Node.prototype, 'isInPage', {
get() { return document.body.contains(this) }
});