Menu
I know that $.extend copies an object property to another but I came across this.
[code] var test = $.extend(object, $htmlElement.offset()};
My question is that offset is a function although it contain top left but it return jquery object from the jquery documentation.
How was extend able to obtain top and left property from the function()?
The result using console.log()
Was
[code] Object{…., top:2.4544777727, left:453738388}