ES6 Resources

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. :blue_heart:

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:

Please share anything else you’ve come across!

19 Likes

Alright, now I have no more excuses for using:

/* eslint-disable */ 
╰( ͡° ͜ʖ ͡° )つ──☆*:・゚
/* eslint-enable */

Thanks for compiling this.

4 Likes

Are you saying my plan of learning backwards from lint errors isn’t the best idea? Rats!

8 Likes

This crash course by Jeffrey Way is great and free: https://laracasts.com/series/es6-cliffsnotes

3 Likes

This seems to have moved to https://lebab.unibtc.me/editor

1 Like