title: Testing and editing JavaScript (both standalone and in HTML) in SciTE?
body: <p>Whenever I try to run a '.js' file in SciTE (Scintilla Text Editor) I almost always get an error stating that certain variables are undefined. I'm guessing that SciTE doesn't have many JavaScript libraries, but I'm not sure.</p>
  
  <p>A few searches yielded me <a href="http://blog.dotsmart.net/2007/12/19/editing-and-testing-scripts-in-scite/" rel="nofollow">these</a> <a href="http://blog.scriptoid.com/2010/07/run-javascript-from-scite.html" rel="nofollow">two</a> blog posts on how to get SciTE to print JavaScript test to its output, rather than just opening a web browser when you press F5 to test the code. </p>
  
  <p>I tried them both, but I either got the same errors as before with the first post's solution, or I got an error that said "'jrunscript' is not recognized as an internal or external command, operable program or batch file" with the second method.</p>
  
  <p>So, is it possible to test JavaScript code in SciTE and print the JavaScript output (or errors) to SciTE's output?</p>
  
  <p>Simple example code I've tried: </p>
  
  <p>console.log("test")</p>
  
  <p>The error message I received for this: 'Microsoft JScript runtime error: 'console' is undefined'</p>