JSFiddle - React, Tailwind, and code Playground

HTML

<input value="abc">

JavaScript

$(document).ready(function() {

  console.log("Running the program");

  async function foo() {
    console.log("I am running at Point A of the async function");
    return 123;
  }

  foo().then((v) => {
    console.log("finally I get the value from the async function", v);
  });

  console.log("This is after calling the async function");

});