Merge pull request #1202 from dagolinuxoid/patch-3
insert the 'if' word
This commit is contained in:
commit
4524596931
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ function sayHi() {
|
|||
alert(sayHi.name); // sayHi
|
||||
```
|
||||
|
||||
What's kind of funny, the name-assigning logic is smart. It also assigns the correct name to a function even it's created without one, and then immediately assigned:
|
||||
What's kind of funny, the name-assigning logic is smart. It also assigns the correct name to a function even if it's created without one, and then immediately assigned:
|
||||
|
||||
```js run
|
||||
let sayHi = function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue