Skip to content

Commit 38487ba

Browse files
committed
resolved merge conflict
2 parents 6c44269 + 8b96a49 commit 38487ba

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

‎general-patterns/function-declarations.html‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
// named function expression
3131
/* Benefits:
3232
* 1. Provides the debugger with an explicit function name: helps stack inspection.
33-
* 2. Allows recursive functions: getData can call itself.
3433
* Issues:
3534
* 3. Can break IE, coffeescript doesn't do function names:
3635
* https://github.com/jashkenas/coffee-script/issues/366
@@ -40,9 +39,8 @@
4039

4140
// named function expression + 'F'
4241
/* Benefits:
43-
* 1. Gets rid of (anonymous function) in stack traces
44-
* 2. Recurse by calling the name + 'F'
45-
* 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)
42+
* 1. Get's rid of (anonymous function) in stack traces
43+
* 2. 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)
4644
*/
4745
vargetData=functiongetDataF(){
4846
};

0 commit comments

Comments
(0)