Ange värdet på utrycket nedan.
let of = {
x: 1,
y: 1,
add: function(x,y) {
return this.x+this.y;
},
mult: function(x,y) {
return this.x*this.y;
}
}
let of = {
start: 1,
index: 1,
step: 1,
set: function(start) {
this.start = start
this.reset();
return this;
},
next: function() {
this.index = this.index + this.step;
return this;
},
reset: function() {
this.index = this.start;
return this;
},
value: function() {
return this.index;
}
}