Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: dictionary returns undefined

$
0
0
In our testing, the following works as expected:
var bag = new PropertyBag();
bag["blub"] = 123.456;
engine.AddHostObject("bag", bag);
Debug.Assert(engine.Evaluate("bag['blub']").Equals(123.456));
If you're doing something different, please provide more information.

Viewing all articles
Browse latest Browse all 2297

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>