From 70ec01526e4f5038be5c1026acb21b83527c9f41 Mon Sep 17 00:00:00 2001 From: David Mann Date: Fri, 26 Apr 2013 11:41:38 -0300 Subject: [PATCH] fix typo in "named function expression + 'F'" comment --- general-patterns/function-declarations.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/general-patterns/function-declarations.html b/general-patterns/function-declarations.html index fdcbd02..b99c7da 100644 --- a/general-patterns/function-declarations.html +++ b/general-patterns/function-declarations.html @@ -38,7 +38,7 @@ // named function expression + 'F' /* Benefits: - * 1. Get's rid of (anonymous funciton) in stack traces + * 1. Get's rid of (anonymous function) in stack traces * 2. Recurse by calling the name + 'F' * 3. Doesn't break an IE (well, unless there's a function name collision of the sort described here: https://github.com/jashkenas/coffee-script/issues/366#issuecomment-242134) */