eclipsesource / eclipsesource/J2V8
Need easy-to-use newInstance(type, args) like API in J2V8
Open
- Dominant language
- Java
- Stars
- 2.6k
- Forks
- 387
- PR merge metrics
- No merged PRs in 30d
Description
There appears to be no simple, easy way to invoke the JavaScript "new Xxx(arg1, arg2, ...)" from Java.
Am I missing something here?
Currently I'm introducing factory functions like "var newPromise = function(execFunction) { return new Promise(execFunction); };", but this is kind of awful.
Contributor guide
Assessment
This issue has not been assessed yet.