() => {} (); I don't know what that is.
(async () => {
   try {
      //await authentication
   } catch (error) {
      //catch errors
   }
})();
Can you do that? How does that even work? So this is a node.js piece of code where I'm learning how to attach a database to a node application and we're using sqlite along with async/await. To connect to the database, we're preparing to use the function above but I don't understand how you can even do it in javascript?
 
     
    