I have an object which looks like
options = {
offers : $$("div.sonan"),
prev : offers[0],
next : offers[1]
}
where the property prev represent the first element of offers array and next represent
the second element of offers array.
How may I use offers property within the options object
Try this.
Change the number at the end to change objects.
option : array name.
offers : object 0.
prev : object 1.
next : object 2.