Why wouldn't a global object's property accept a new assignment?
<p>I'm trying to assign a new value to the 'notes' property of the 'attendee' object in this global session object... whenever I try the assignment though, the value doesn't keep.</p>

<p>From the console in webkit:</p>

<pre><code>&gt; session['attendee']['notes']
null
&gt; session['attendee']['notes'] = "test"
"test"
&gt; session['attendee']['notes']
null
&gt; window.session['attendee']['notes'] = "test"
"test"
&gt; session['attendee']['notes']
null
&gt; window.session['attendee']['notes']
null
</code></pre>

<p>Session is set like so in a global scope:</p>

<pre><code>window.session = {};
</code></pre>

<p>And then later on I'm assigning an object pulled from the browser's sql database like this;</p>

<pre><code>window.session['attendee'] = {'name':'mike' ..etc..}
</code></pre>

<p><strong>Update:</strong></p>

<p>Here's some more console info:</p>

<pre><code>&gt; window.session['attendee']
Object
  address_1: null
  address_2: null
  app_id: 1
  badge_id: null
  budget: null
  city: null
  company: null
  decision_maker: null
  email: null
  first_name: "Anonymous"
  followup: null
  id: null
  is_influencer: null
  is_purchaser: null
  is_user: null
  last_name: ""
  notes: null
  phone: null
  rating: null
  scanned: 1
  state: null
  synced: null
  zip: null
  __proto__: Object
&gt; window.session['attendee'].notes
null
&gt; window.session['attendee'].notes = "TEST"
"TEST"
&gt; window.session['attendee'].notes
null
</code></pre>

<p>So there's an object in session.attendee and "notes" is a property in that object, but assigning a value to it doesn't stick.</p>
