Browse files

Highlighting that `Person.Name` is changed from JS (#551)

I believe the intention of the sample was to show that the CLR object is changed
  • Loading branch information...
jfoshee authored and sebastienros committed Nov 4, 2018
1 parent c1a42a9 commit 388854cbf81274eb01239f2c7b23c7799d0d4f79
Showing with 2 additions and 1 deletion.
  1. +2 −1
@@ -53,8 +53,9 @@ You can also directly pass POCOs or anonymous objects and use them from JavaScri
var engine = new Engine()
.SetValue("p", p)
.Execute("p.Name === 'Mickey Mouse'")
.Execute("p.Name = 'Minnie'")
Assert.AreEqual("Minnie", p.Name);
You can invoke JavaScript function reference

0 comments on commit 388854c

Please sign in to comment.