File tree Expand file tree Collapse file tree 3 files changed +11
-6
lines changed
CSharpToJavaScript/APIs/JS Expand file tree Collapse file tree 3 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,12 @@ public float GetDay()
4747 {
4848 throw new System . NotImplementedException ( ) ;
4949 }
50-
50+
51+ //does not exists in es14
52+ public float GetYear ( )
53+ {
54+ throw new System . NotImplementedException ( ) ;
55+ }
5156 public float GetFullYear ( )
5257 {
5358 throw new System . NotImplementedException ( ) ;
Original file line number Diff line number Diff line change @@ -24,6 +24,11 @@ public static Undefined Void(dynamic arg)
2424 {
2525 return new Undefined ( ) ;
2626 }
27+ [ Unary ( "typeof " ) ]
28+ public static string TypeOf ( dynamic arg )
29+ {
30+ return string . Empty ;
31+ }
2732 [ Binary ( "instanceof" ) ]
2833 public static bool InstanceOf ( dynamic left , dynamic right )
2934 {
Original file line number Diff line number Diff line change 11using CSharpToJavaScript . Utils ;
2- using System ;
3- using System . Collections . Generic ;
4- using System . Linq ;
5- using System . Text ;
6- using System . Threading . Tasks ;
72
83namespace CSharpToJavaScript . APIs . JS
94{
You can’t perform that action at this time.
0 commit comments