Note that this site is in currently in version 1.0.0-alpha.   Some functionality may be limited.


The dir() method returns a list of possible methods and attributes of an object, such as a variable or string. Useful for seeing what kinds of things you can do with that object.


Learn how to use dir() on w3schools.

Lessons referring to this term