Direct purchase order

Is it possible to set `session.selected = null;` instead of deleting?  See this link: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/delete. Also, this link: http://stackoverflow.com/questions/1947995/when-should-i-use-delete-vs-setting-elements-to-null-in-javascript.