You are reading a single comment by @andiy and its replies. Click here to read the full conversation.
  • code using the 'use strict' directive is identified by the editor, but
    brings up error message for built-in library functions (see attached image)

    function test_strict(){
      "use strict";
      
      var N=false;   // oops - typo...
      setInterval( function(){
        LED2.write( n);
        n = !n;
      },1000);
    }
    

    is there any libraray available to satisfy the editor's strict validator?

    ps: the esprima minifyer ignores the strict directive, and reports even bad code to be fine


    1 Attachment

    • strict.png
About

Avatar for andiy @andiy started