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.
1 parent d9420bf commit c0f7d86Copy full SHA for c0f7d86
static/img_javascript/ex3-10-solution.png
457 KB
xml/chapter3/section2/subsection3.xml
@@ -660,6 +660,14 @@ W2(80);
660
</SPLITINLINE>
661
create objects with the same behavior. How do the environment structures
662
differ for the two versions?
663
+ <SOLUTION>
664
+ <IMAGE src="img_javascript/ex3-10-solution.png"/>
665
+ <UL>
666
+ <LI>Black shows the environment structure of function in exercise 3.10</LI>
667
+ <LI>Green shows differences in environment structure of original
668
+ (where <JAVASCRIPTINLINE>make_withdraw</JAVASCRIPTINLINE> is replaced with the figure 3.9 version)</LI>
669
+ </UL>
670
+ </SOLUTION>
671
<LABEL NAME="ex:local-state-variable"/>
672
</EXERCISE>
673
0 commit comments