It seems you are implying that only parser-inserted scripts can run 
immediately. But scripts created using DOM methods can also do that, see 
https://html.spec.whatwg.org/multipage/scripting.html#script-processing-inline

```js
var s = document.createElement("script");
s.text = "console.log(1);";
document.documentElement.appendChild(s);
console.log(2);
```

The output will be `1`, `2`. The script runs immediately, it's not async.

- Oriol

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to