Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@nolanlawson
Created May 6, 2022 18:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nolanlawson/a0ea8e885d4d49a5c667983d8f0fd01e to your computer and use it in GitHub Desktop.
Save nolanlawson/a0ea8e885d4d49a5c667983d8f0fd01e to your computer and use it in GitHub Desktop.
Element.prototype.part demo
<!doctype html>
<html>
<head>
<title>Element.prototype.part demo</title>
</head>
<body>
<h1>Element.prototype.part demo</h1>
<script>
const el = document.createElement('div');
console.log('part' in el);
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment