Skip to content

Instantly share code, notes, and snippets.

@clarkeash
Created December 5, 2013 15:31

Revisions

  1. clarkeash created this gist Dec 5, 2013.
    7 changes: 7 additions & 0 deletions object_one.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    function Object(){

    }

    Object.prototype.func = function(){
    //code
    };
    5 changes: 5 additions & 0 deletions object_two.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    function Object(){
    this.func = function(){
    //code
    };
    };