We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1acfe8c commit f7e0c3cCopy full SHA for f7e0c3c
1 file changed
CSharpToJavaScript/APIs/JS/Ecma/String.cs
@@ -16,7 +16,7 @@ public partial class String : StringPrototype
16
public static implicit operator string(String value) { return new String(value) { Value = value }; }
17
18
[To(ToAttribute.FirstCharToLowerCase)]
19
- public StringPrototype Prototype { get; } = new();
+ public static StringPrototype Prototype { get; } = new();
20
21
22
public int Length { get; } = 0;
@@ -176,4 +176,10 @@ public string TrimStart()
176
{
177
throw new System.NotImplementedException();
178
}
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
+ }
185
0 commit comments