title: "Use the array literal notation []" for var os_map = {}
body: <p>I don't understand why I get the error message when I run JSLint with a JavaScript file.</p>
  <p>I get the message var <code>os_map = {}; Problem at line 28 character 36: Use the array literal notation [].</code> if I run <a href="http://en.wikipedia.org/skins-1.5/common/mwsuggest.js" rel="noreferrer">this code</a> in <a href="http://www.jslint.com/" rel="noreferrer">JSLint</a>. The options for the JSLint as the following.</p>
  <pre><code>/*jslint onevar: true, browser: true, undef: true, nomen: true, eqeqeq: true, plusplus: true, bitwise: true, regexp: true, strict: true, newcap: true, immed: true */
  </code></pre>
  <p>Claiming object (, which is <code>{}</code>) should be okay, but JSLint suggets to use an empty array (, which is <code>[]</code>)</p>
  <p>: I found an answer. I was wrong. There's nothing wrong with <code>var os_map = {}</code>. The code was shown in an error message because I did not use <code>&quot;require strict&quot;;</code>. I got the error message wrong. Thanks for answering my questions.</p>