JSFiddle - React, Tailwind, and code Playground
JavaScript
const el = document.createElement('script')
el.src = "https://code.jquery.com/jquery-3.7.0.min.js";
el.setAttribute('async', false);
document.write(`setAttribute can set async: ${!el.async} (false = problem)<br/>`)
el.async = false;
document.write(`property can set async: ${!el.async} (false = problem)<br/>`)