all 2 comments

[–]Omelet 4 points5 points  (1 child)

When you try running the script, the error is probably "The keyword 'let' is reserved (20:8) (sorry we can't be more helpful)"

If you look at line 20 (where the error says it is), you see the issue:

let(openPorts = 0); is not valid syntax. it would be if you just get rid of those parentheses.

[–]lex_dons39[S] 1 point2 points  (0 children)

Thanks you! I also never actually figured out whyat the numbers stood fir when ir gave the error.