I learned that javascript doesn't have "interface" concept from Does JavaScript have the interface type (such as Java's 'interface')?
However, I saw the opposite in https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
The HTMLElement interface represents any HTML element. Some elements directly implement this interface, others implement it via an interface that inherits it.
I was wondering what "interface" and "implementing an interface" mean in the above quote? Help is appreciated!