Re: [w3c/IndexedDB] Replace var with let/const in examples. (#297)

@aliams - can you take a look? (since you already looked at a variant of these changes...)

Note that a scoped `const db` in an `upgradeneeded` handler is intentional, with the `let db` outside the scope getting set in the `success` handler. Assuming I made the changes correctly.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/IndexedDB/pull/297#issuecomment-534336611

Received on Tuesday, 24 September 2019 00:29:20 UTC