Skip to content
Browse files

Fixed typo in keyword

  • Loading branch information...
1 parent 6cb0e22 commit 77cd25394efa82901ab7061a014aa39b9f27e0c8 @davidfowl davidfowl committed Jan 31, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Microsoft.AspNet.SignalR.Core/Json/JsonUtility.cs
View
2 src/Microsoft.AspNet.SignalR.Core/Json/JsonUtility.cs
@@ -17,7 +17,7 @@ public static class JsonUtility
// JavaScript keywords taken from http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf
// Sections: 7.6.1.1, 7.6.1.2
// Plus the implicity globals "NaN", "undefined", "Infinity"
- private static readonly string[] _jsKeywords = new[] { "break", "do", "instanceof", "typeof", "case", "else", "new", "var", "catch", "finally", "return", "void", "continue", "for", "switch", "while", "debugger", "function", "this", "with", "default", "if", "hrow", "delete", "in", "try", "class", "enum", "extends", "super", "const", "export", "import", "implements", "let", "private", "public", "yield", "interface", "package", "protected", "static", "NaN", "undefined", "Infinity" };
+ private static readonly string[] _jsKeywords = new[] { "break", "do", "instanceof", "typeof", "case", "else", "new", "var", "catch", "finally", "return", "void", "continue", "for", "switch", "while", "debugger", "function", "this", "with", "default", "if", "throw", "delete", "in", "try", "class", "enum", "extends", "super", "const", "export", "import", "implements", "let", "private", "public", "yield", "interface", "package", "protected", "static", "NaN", "undefined", "Infinity" };
/// <summary>
/// Converts the specified name to camel case.

0 comments on commit 77cd253

Please sign in to comment.
Something went wrong with that request. Please try again.