You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the code bellow if mode is set to undefined the callback is never called.
I expected that both code are equivalent.
constdb=newsqlite3.Database(":memory:",undefined,()=>{console.log("1");// not called});constdb2=newsqlite3.Database(":memory:",()=>{console.log("2");// called});