Skip to content

Commit e56501a

Browse files
committed
Added "Comma" method, translates as the comma operator.
1 parent b501c2a commit e56501a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CSharpToJavaScript/APIs/JS/GlobalObject.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,9 @@ public static bool In(dynamic left, dynamic right)
3939
{
4040
return true;
4141
}
42+
[Binary(",")]
43+
public static dynamic Comma(dynamic left, dynamic right)
44+
{
45+
return right;
46+
}
4247
}

0 commit comments

Comments
 (0)