var point = function() { var me = this; this.del = function() { } this.click = function() { me.del(); } }