Hello, my name is JP.

elementContains One Liner in Javascript

Written by JP on September 18, 2021
~ less than a minute to read
  • javascript
  • utilities

I don't know about you, but I enjoy writing utility functions. Even with libraries like LoDash and Underscore there is still value in writing your own utilities.

Below you'll find a simple use example with the method elementContains().

Hope you enjoy.