vendredi 2 avril 2021

Are browser APIs language-agnostic or JavaScript only?

There many Web APIs that browsers are expected to provide, like XMLHttpRequest, fetch, etc. The HTML spec itself also has a dedicated chapter named Web Application APIs. It feels to me that all APIs are provided in JS.

However, I also read from another answer that at least the DOM spec allows for implementation in languages other than JS.

Hence my question: are these web API specs language agnostic, or JS-specific?




Aucun commentaire:

Enregistrer un commentaire