defining a method

master
Matt Huntington 9 years ago
parent 5c290ab18b
commit 2955a9bf76

@ -175,7 +175,8 @@ var myFunc = function(){
myFunc();
```
Can be assigned to properties of objects
Can be assigned to properties of objects. These functions are referred to as methods of the object
```javascript
var myObj = {

Loading…
Cancel
Save