[whatwg] SQLResultSet "rows" property

Anders Carlsson andersca at apple.com
Tue Oct 9 11:44:01 PDT 2007


according to http://www.whatwg.org/specs/web-apps/current-work/#sqlresultset

the rows attribute should return a _native_ array of objects.

In the case of JavaScript, does that mean a native JavaScript "Array"  
object or another object which can be indexed as an array? If it's the  
former, then doing something like

var rows = result.rows;

rows[0] = null;

would be possible, which seems strange, unless result.rows returns a  
new array every time (something that seems pretty bad for performance).

In any case I'd like some clarification on this - and it would be  
great to have the spec clarify it as well :)


More information about the whatwg mailing list