Skip to content

Instantly share code, notes, and snippets.

@Maciek416
Created April 23, 2012 21:16

Revisions

  1. Maciek416 created this gist Apr 23, 2012.
    20 changes: 20 additions & 0 deletions gistfile1.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    Object.defineProperties(Circle.prototype, {

    radius: {
    get: function(){
    },
    set: function(r){

    }
    },

    color: {
    get: function(){

    },
    set: function(r,g,b){

    }
    }

    });