title: Org-mode JavaScript code block evaluation error when using console.log
body: <p>I receive the error <strong>Invalid read syntax: "]"</strong> when using console.log to print values from JavaScript array objects inside of org file code blocks. Arrays that contain strings produce this error. Arrays which have just numeric values print to the console fine.</p>
  
  <p>I am not sure why org-babel is having difficulty with console.log(). I tried checking the encoding of my org file as a first step. I verified my code using node.js by itself. Specifying a different interpreter (e.g babel-cli) to evaluate the code block produces the same error.</p>
  
  <p>This works</p>
  
  <pre><code>#+BEGIN_SRC js
  let myarray = [1, 2, 3, 4, 5];
  
  console.log(myarray);
  
  #+END_SRC
  
  #+RESULTS:
  : [1 (\, 2) (\, 3) (\, 4) (\, 5)]
  </code></pre>
  
  <p>This does not</p>
  
  <pre><code>#+BEGIN_SRC js
  let myarray = ["a", "b", "c", "d", "e"];
  
  console.log(myarray);
  
  #+END_SRC
  </code></pre>
  
  <p>Is there something I need to do within my org config files? I am using Emacs version 26.1 on Windows 7 (build 1, x86_64-w64-mingw32). Node.js is version 10.15.3 .</p>