• Found a bug in Array.indexOf implementation.
    Only strings less than 5 characters matches.

      global.keep = ["keep", "onInit", "SPI", "SPI2", "Ethernet", "eth", "Server", "Socket", "Serial", "Pipe", "LoopbackA", "LoopbackB", "fullreset", "reset"];
      function softreset() {
        Object.keys(global).forEach(function(n) {
          console.log("-"+n+"-");
          console.log(global.keep.indexOf(n));
        });
    

    Should I open a new topic?

About

Avatar for heri16 @heri16 started