File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
CSharpToJavaScript/APIs/JS/Ecma Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ public partial class String : StringPrototype
1616 public static implicit operator string ( String value ) { return new String ( value ) { Value = value } ; }
1717
1818 [ To ( ToAttribute . FirstCharToLowerCase ) ]
19- public StringPrototype Prototype { get ; } = new ( ) ;
19+ public static StringPrototype Prototype { get ; } = new ( ) ;
2020
2121 [ To ( ToAttribute . FirstCharToLowerCase ) ]
2222 public int Length { get ; } = 0 ;
@@ -176,4 +176,10 @@ public string TrimStart()
176176 {
177177 throw new System . NotImplementedException ( ) ;
178178 }
179+
180+ //https://262.ecma-international.org/5.1/index.html#sec-B.2.3
181+ public string Substr ( int start , int length )
182+ {
183+ throw new System . NotImplementedException ( ) ;
184+ }
179185}
You can’t perform that action at this time.
0 commit comments