Javascript: Can a string containing a newline "\n" be used as a property name?
<p>It is clear why I would not want to do this. But I have little choice in the matter. </p>

<p>Will browsers be able to handle this? </p>

<p>Chrome seems to be okay with it: </p>

<pre><code>&gt; var x = {};
&gt; x['a\nb'] = 1;
1
&gt; x
Object
a b: 1
__proto__: Object
&gt; Object.keys(x)
["a
b"]
</code></pre>
