When I call "new Object()" without storing the return, what happens to the returned object?
<p>Let's say we have some code that looks like the following (which I am aware is bad practice):</p>

<pre><code>try {

new myObject();

} catch {

//stuff

}
</code></pre>

<p>What happens to the returned object? Is it still stored on the heap? Should this throw a compile time error?</p>
