Sam Cao
Sam Cao
> I wonder if higher versions have fixed this issue? No, that hasn't been changed.
It's `globalThis` by default. If you want to change it to `global`, please check this [doc](https://www.caoccao.com/Javet/reference/javadoc/com/caoccao/javet/interop/options/V8RuntimeOptions.html) out.
The simplest way is to assign `globalThis` to `global`. E.g. `const global = globalThis`.
This behavior has been with Javet since the beginning of this project. I agree: it's time to correct it.
That is completed. Please wait for the next release.
There is a [test case](https://github.com/caoccao/Javet/blob/main/src/test/java/com/caoccao/javet/values/reference/TestV8ValuePromise.java) for this feature. As I just tested, it works as expected. Could you try that case out?
That feature belongs to i18n which is disabled in both Node.js and V8 mode. It's possible to enable i18n in V8 mode with a private build. However, it's impossible to...
i18n on/off is not a flag that can be turned on/off easily. Actually, it's a set of C++ preprocessors. Turning it on implies: - The whole [Intl](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl) is loaded. -...
Could you join the discord to discuss with me? That's quite complicated and changes from time to time.
> I would also be interested in this. I wanted to use some dependencies which use regular expressions like `/\p{Lu}/gu` which currently crash Javet. This was discussed in #222. You...