Permalink
Browse files

js-properties: Remove optional quotes

 Please enter the commit message for your changes. Lines starting
  • Loading branch information...
1 parent 699c9b1 commit aa48d767b41a4897ae1841ca4355747c62502969 @mathiasbynens committed Mar 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 js-properties/index.html
View
2 js-properties/index.html
@@ -8,7 +8,7 @@
<h1>Unquoted JavaScript property name validator</h1>
<p>Wondering if a given character sequence can be used as an unquoted property name in JavaScript? Can dot notation be used to get or set this property based on its name? <a href=http://mathiasbynens.be/notes/javascript-properties>Read all about it</a>, or just use this tool.
<noscript><strong>To use this tool, please <a href=http://enable-javascript.com/>enable JavaScript</a> and reload the page.</strong></noscript>
-<p><label>Enter a property name: <input value="foo-bar" required autofocus placeholder="e.g. foo-bar"></label>
+<p><label>Enter a property name: <input value=foo-bar required autofocus placeholder="e.g. foo-bar"></label>
<p>You <em>don’t need</em> to quote this property name<span id=es3> for backwards compatibility with ES3</span>: <a href=# id=permalink>permalink</a>
<pre><code>var object = {<br> <mark>foo-bar</mark>: 42<br>};</code></pre>
<p id=dot>You can’t use dot notation here:

0 comments on commit aa48d76

Please sign in to comment.