Community
Fusion API and Scripts
Got a new add-in to share? Need something specialized to be scripted? Ask questions or share what you’ve discovered with the community.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ES6 support

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
carloquinonez
264 Views, 2 Replies

ES6 support

I noticed that JS scripts that use `let` instead of `var` work fine on a Mac, but throw an "Unexpected identifier" when I try them on windows.  Is this the expected behavior?


-CQ
2 REPLIES 2
Message 2 of 3
marshaltu
in reply to: carloquinonez

Hello,

 

Unfortunately supporting ES6 in Windows asks our HTML/JS engine is upgraded. We uses different JS engines in Windows and MAC. It looked MAC's one has supported ES6.

 

I log a request (UP-34343) in our internal system to track this.

 

Thanks,

Marshal



Marshal Tu
Fusion 360 Developer
Autodesk, Inc.

Message 3 of 3
carloquinonez
in reply to: marshaltu

Hi Marshall,

 

Thank you for confirming this issue. I can't wait to have support for the ES6 on windows! There's also the new spread operators, arrow functions, destructuring syntax... Right now, it's awkward to switch back and forth between es6 and es5 programming styles.


-CQ

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report