An example class
| Name | Type | Description |
|---|---|---|
a | String | the first parameter |
b | Number | the second parameter |
function ExampleJS(a, b) {
}An instance method
| Name | Type | Description |
|---|---|---|
a | String | the first parameter |
b | Number | the second parameter |
| Name | Type | Description |
|---|---|---|
| (Returns) | Boolean | return value |
ExampleJS.prototype.instanceMethod = function (a, b) {
}A static method
| Name | Type | Description |
|---|---|---|
a | String | the first parameter |
b | Number | the second parameter |
| (Nothing) |
ExampleJS.staticMethod = function (a, b) {
}