Merge pull request #1202 from dagolinuxoid/patch-3

insert the 'if' word
This commit is contained in:
Ilya Kantor 2019-08-02 12:17:51 +03:00 committed by GitHub
commit 4524596931
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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() {