2
0
Sebastien Ros 9 жил өмнө
parent
commit
5d18c385d6

+ 1 - 0
Jint/Runtime/ExpressionIntepreter.cs

@@ -660,6 +660,7 @@ namespace Jint.Runtime
 
                 switch (property.Kind)
                 {
+                    case PropertyKind.Init:
                     case PropertyKind.Data:
                         var exprValue = _engine.EvaluateExpression(property.Value.As<Expression>());
                         var propValue = _engine.GetValue(exprValue);