We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c4ebea9 + 5c30b95 commit a369677Copy full SHA for a369677
README.md
@@ -521,18 +521,17 @@
521
var named = function superPower() {
522
console.log('Flying');
523
};
524
+ }
525
+
526
+ // the same is true when the function name
527
+ // is the same as the variable name.
528
+ function example() {
529
+ console.log(named); // => undefined
530
531
+ named(); // => TypeError named is not a function
532
- // the same is true when the function name
- // is the same as the variable name.
- function example() {
- console.log(named); // => undefined
-
- named(); // => TypeError named is not a function
533
- var named = function named() {
534
- console.log('named');
535
- };
+ var named = function named() {
+ console.log('named');
536
}
537
538
```
0 commit comments