Skip to content

Commit c0f7d86

Browse files
committed
solution of ex 3.10 added; fixes #621
1 parent d9420bf commit c0f7d86

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed
457 KB
Loading

xml/chapter3/section2/subsection3.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -660,6 +660,14 @@ W2(80);
660660
</SPLITINLINE>
661661
create objects with the same behavior. How do the environment structures
662662
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>
663671
<LABEL NAME="ex:local-state-variable"/>
664672
</EXERCISE>
665673

0 commit comments

Comments
 (0)