the following figure shows the closure in the Red Treasure Book, the classic code. Then, when we look at it, we find that the diagram of the scope chain contains the createComparisonFunction () function and the result variable in the global environment variables. Why does it not include compareNames?
Thank you all in advance!