Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions objects/global_footprint.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ If you are developing a module, which might be running on a web page, which also
Suppose we are developing a counter module:
```js
var myCounter = {
number = 0,
plusPlus = function(){
this.number = this.number + 1;
number : 0,
plusPlus : function(){
this.number : this.number + 1;
},
isGreaterThanTen = function(){
isGreaterThanTen : function(){
return this.number > 10;
}
}
Expand Down