Make object attributes available in 'this' scope
<p>I'd like to be able to do </p>

<pre><code>console.log(some_value);
</code></pre>

<p>instead of</p>

<pre><code>console.log(some_object.attributes.some_value);
</code></pre>

<p>Is there a way to make that object's attributes available in the current 'scope' ('scope' isn't the word I'm looking for, but I hope you understand what I'm asking).</p>

<p>I'm searching somethin like the 'with' syntax in Classic ASP, where you can do</p>

<pre><code>Dim myObject = Server.CreateObject(".......")
with myObject
  .method1()
  .property1 = "Test"
end with
</code></pre>

<p>Regards</p>
