What is the minimum change to the last 3 lines of code that would make it work?
<p>What is the minimum change to the last 3 lines of code that would make it work without adding or removing any lines of code?</p>

<pre><code>&lt;script&gt;
function produceMessage(){
    var msg= 'This should print';
    return msg;
}

&lt;/script&gt;

&lt;div id="myDiv"&gt; This should not print!&lt;/div&gt;

&lt;script&gt;
    var element=document.getElementById('myDiv').innerHTML;
    var message= produceMessage();
    element=message;&lt;/script&gt;
</code></pre>

<p>For example this is not what I'm looking for since it combines the last three lines of code into one:</p>

<pre><code>document.getElementById('myDiv').innerHTML= produceMessage();
</code></pre>
