In console, in both Firefox and Chrome, typing Comment outputs
ƒ Comment() { [native code] }
What is it?
In console, in both Firefox and Chrome, typing Comment outputs
ƒ Comment() { [native code] }
What is it?
It's an interface that creates an HTML comment object when called with new:
const c = new Comment();
console.log(c);