[Bug 12248] Make objects first-class API citizens

http://www.w3.org/Bugs/Public/show_bug.cgi?id=12248

--- Comment #37 from Jonas Sicking <jonas@sicking.cc> 2011-03-16 23:22:20 UTC ---
Note that in IndexedDB, functions take both required and optional arguments. We
didn't make these functions take a single object that contains both the
optional and required arguments, but rather did something like this:

db.createObjectStore("foo", { keyPath: "a_prop" });

http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#widl-IDBDatabase-createObjectStore

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Wednesday, 16 March 2011 23:22:22 UTC