14:25
<Jack Works>
https://dev.to/smpnjn/future-javascript-shadowrealms-20mg
14:25
<Jack Works>
I read this article and I think there are some wrong statements....
14:26
<Jack Works>
(or is Realm proposal updated again?? let me check that)
14:27
<Jack Works>
let myRealm = new ShadowRealm();

const { runFunction, testFunction, createFunction } = await myRealm.importValue('./function-script.js');

let fileAnalysis = runFunction();
14:28
<Jack Works>
this article wrote this, but this actually not work 🤔
14:34
<Jack Works>
https://github.com/tc39/proposal-shadowrealm/issues/350
16:34
<Mathieu Hofman>
That article completely glosses over the callable boundary, and the fact only primitives and "functions" can be used through ShadowRealm
17:01
<shu>
i... wouldn't put too much weight on content farm articles
20:18
<Domenic>
To me, dev.to will always be on the wrong side of the great DigitalOcean spamfest of 2020... https://blog.domenic.me/hacktoberfest/