title: macro definition in javascript
body: <p>Is there a way that I can define a macro similar to C/C++ macros in Javascript? </p>
  
  <p>I want to use this for debug statements:
  Something like </p>
  
  <pre><code>#ifdef TEST__
  #define MYDEBUG(##x) debug(__FILE__,x)
  #else
  #define debug
  #endif
  </code></pre>
  
  <p>Not necessarily similar, but I want to acheieve that functionality. Is there a way I can do that?</p>
  
  <p>Thanks</p>