|
@@ -489,7 +489,12 @@ namespace Jint.Native
|
|
|
break;
|
|
|
|
|
|
case "Object":
|
|
|
- IDictionary<string, object> o = new ExpandoObject();
|
|
|
+ #if __IOS__
|
|
|
+ IDictionary<string, object> o = new Dictionary<string, object>();
|
|
|
+ #else
|
|
|
+ IDictionary<string, object> o = new ExpandoObject();
|
|
|
+ #endif
|
|
|
+
|
|
|
foreach (var p in _object.Properties)
|
|
|
{
|
|
|
if (!p.Value.Enumerable.HasValue || p.Value.Enumerable.Value == false)
|