Browse Source

Correct comment

Frederic Torres 11 years ago
parent
commit
d79ec53044
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Jint/Native/String/StringPrototype.cs

+ 1 - 1
Jint/Native/String/StringPrototype.cs

@@ -651,7 +651,7 @@ namespace Jint.Native.String
             var start = System.Math.Min(len, System.Math.Max(pos, 0));
             var start = System.Math.Min(len, System.Math.Max(pos, 0));
 
 
             // The JavaScript spec of string.lastIndexOf does match the C# spec
             // The JavaScript spec of string.lastIndexOf does match the C# spec
-            // Therefore we to write our own specific implementation.
+            // Therefore we need to write our own specific implementation.
             // Enjoy the fact that Ecma spec and Mozilla spec have different definition which
             // Enjoy the fact that Ecma spec and Mozilla spec have different definition which
             // I guess mean the same thing.
             // I guess mean the same thing.
             // Ecma spec
             // Ecma spec