Comments (2)
var engine = new Engine();
var ns = new JsObject(engine);
ns.Set("fs", JsValue.FromObject(engine, "your object here"));
engine.SetValue("ns", ns);
Assert.Equal("your object here", engine.Evaluate("ns.fs"));
from jint.
Thanks for your assistance!
from jint.
Related Issues (20)
- Executing any script using Jint 3 with Unity 2021.3 results in TypeLoadException HOT 19
- Add convenience methods to ShadowRealm HOT 2
- Read stack trace during runtime like console.trace
- Promise not resolving, if resolve() invoked from C# callback function HOT 3
- Stack Overflow Exception when calling ToObject on ObjectInstance containing a reference to itself HOT 9
- Set engine in WrapObjectHandler
- Recursion limit handling differences between Execute and Invoke as well as weird relationship when chaining them
- Jint Exception
- Use byte[] in JS
- Property 'includes' of object is not a function
- Catch exception in reflection accessors HOT 5
- Any guidance on how to use await / top level await HOT 1
- Adding objects to a ShadowRealm
- Support explicit interface HOT 1
- Can operator overloading be supported? HOT 2
- 3.0.0-beta-2050 The return is not supported HOT 1
- Arrays have low performance HOT 1
- `ToString` method is now unavailable in some CLR Interop scenarios HOT 3
- Type hints?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jint.