The JavaScript included with Sage 9 is written in ES6 syntax. I wanted to share some resources to help you get up to speed if you’re not yet familiar with it.
ES6 for Everyone by Wes Bos is one of the best resources for learning modern JavaScript. This is a referral link, and Roots gets a kickback when you purchase the course via the link.
Lebab is a simple tool that converts your existing JS to ES6 — just paste it right in the editor, then copy and paste the ES6 converted code into Sage 9’s scripts.
Additional links:
- https://davidwalsh.name/es6-features
- https://davidwalsh.name/es6-features-ii
- https://github.com/metagrover/ES6-for-humans
- https://ponyfoo.com/articles/es6
- https://github.com/lukehoban/es6features#readme
- https://github.com/DrkSephy/es6-cheatsheet
Please share anything else you’ve come across!