Solved: About syntax errors and good debugging practices

Hi Özgür,

Welcome to this forum!
When I paste the javascript code of your .html file in jshint.com, then you see this:

So when I follow the directions on the right pane, you should need to change it to this:

				var newConfigJSON = {
                	PORT_COUNT: $("#node-input-portCount").val(),
                    LATCH_PIN: $("#node-input-latchPin").val(),
                    LATCH_DELAY: $("#node-input-latchDelay").val(),
                    SPEED: $("#node-input-speed").val(),
          LOOP_DELAY_US: $("#node-input-loopDelayUs").val() }
                node.log("testtttt");

Then the syntax errors are solved.
Bart

1 Like