Hacker News new | ask | show | jobs
by dfghdfhs 1616 days ago
Could someone more savvy clarify....

On that page I do inspect, got console and do:

loadDBAndExec('SELECT * FROM my_table LIMIT 10;')

I get

Uncaught ReferenceError: loadDBAndExec is not defined

Why doesn't this work?

1 comments

That's just example code in the blog post.

The live demo uses a webworker with different code: https://boredcaveman.xyz/demo/megacat/database-app.js