transaction mode javascript code example Example: transaction mode javascript var transaction = db.transaction('my-store-name', "readwrite");