Often, without knowing all the possibilities of the language, you have to make a bicycle. And then it turns out that the problem was solved using the entire pair of native methods.

That is why I am interested in where you can find a list of all methods of each object, preferably in alphabetical order. Not for the purpose of memorizing, of course. Just to know what is being done using the built-in JS capabilities, and what you need to do yourself.

It is within the framework of the V8 engine (or as it is called there ... In short, the "browser" JS).

All methods of each object

Here I mean the following: a list of all standard objects (NodeList, Event, Object, etc.) and for each of them a list of all the methods that each of these objects already has by default.

  • one
    I would venture to suggest that the ECMAScript specification contains what you need. More in IDL files can be viewed. But it's better to just google "JS what to do," I do. - Vladimir Martyanov
  • @ VladimirMartyanov What are IDL files? About Google did not quite understand. Do you mean to google each specific situation? - smellyshovel
  • one
    There is nothing wrong with Google to solve this or that problem. Given the total number of methods in JS, this will definitely be faster than searching for them with all your hands. Or here's an example of IDL github.com/adobe/webkit/blob/master/Source/WebCore/dom/… - Vladimir Martyanov
  • @smellyshovel, yes, what's wrong with google? Of course the fact that googled should understand and not copy-paste. - Duck Learns to Take Cover
  • one
    @smellyshovel, as a collection you can see MDN - Grundy

1 answer 1

all available functions for working with the object are in the prototype

you can see them like this:

<select id="list"></select> <script>console.dir(document.querySelector('#list').__proto__)</script>