Making an extension for every JavaScript exclusive feature I can think of!

Ah. Yeah … changing the control value inside of a for() loop is … not recommended. :smiley: Although, you’re right… You can manipulate the control variable in Blocks. Interesting. I wonder if TypeScript likes variables by reference. :laughing:

//% hidden prevents the code snippet from appearing in the toolbox when switching to a typing language. TypeScript and Python have their own ways to handle for() loops; no need to clutter the toolbox with redundant snippets.

2 Likes