Mesmer
Mesmer

Reputation: 59

How WEB APIs are implemented into JS?

WEB APIs like a DOM are not a part of built-in JS objects, so how it is possible that I can use them without importing them? What inner mechanism is responsible for that?

Upvotes: 0

Views: 64

Answers (1)

Bergi
Bergi

Reputation: 665379

They are builtins, provided by the environment. They're just not native EcmaScript objects, they're host objects.

Upvotes: 1

Related Questions