Menu

/*jsl:define xxx*/

2007-07-27
2013-05-28
  • Eduardo Schettino

    Hello,

      Thanks for the great job.
      I was looking for something like /*jsl:define xxx*/...
      I saw the thread "Is there a way to declare extern's?".
      Is it implemented? Is anybody working on this?

    cheers,
      Eduardo

     
    • Matthias Miller

      Matthias Miller - 2007-07-27

      Eduardo, this is implemented as /*jsl:declare xxx*/ in the latest version. You can test it using the following code at http://www.javascriptlint.com/online_lint.php:

      /*jsl:option explicit*/
      /*jsl:declare x*/
      x = 0;
      y = 42;

      Regards,
      Matthias Miller

       
      • Eduardo Schettino

        Great
        Thanks

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.