1
counter = 4
2
function draw(value) {
3
//java.lang.System.out.println("counter="+counter);
4
return counter++ * -value;
5
6
}
7
function Base() {
8
9
10
Base.prototype.draw = draw
11
12
Base.prototype.layout = function(lay) {
13