File Under: Glossary

Method

A method is a function assigned to an object. For example, any Form object in JavaScript has a submit method, which, when invoked, submits the form. Since JavaScript functions are also data values, you can combine functions or invoke them from other statements by using methods.