Skip to content

aaronfrost/es6-workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#ES6-Workshop

##Welcome Welcome to this ES6 workshop. Our goal is to help everyone make strides towards learning the newest ES6 syntax, and how to use the latest constructs in JavaScript.

This repo is meant to be used in parallel with a lecture style presentation of the new features.

##Your Goals This repo is full of failing tests. The only way to get them to pass it by using your newly acquired knowledge of ES6 and all of the new features that are part of this latest release. For each test, you will need to write/rewrite to code using the latest ES6 syntax. Once all of your tests pass, you will want to move onto the next section.

By the time that the workshop is over, all of your tests will be passing.

##How To Get Started

###Clone the repo You will need to start by cloning this repo. From your terminal, type:

git clone https://github.com/aaronfrost/es6-workshop.git && cd es6-workshop

###Install Dependencies Once you have cloned the repo, in need to install the local dependencies. From your terminal, type:

npm install --global babel && npm install

Note that this step will install Babel globally. This project uses Babel to provide support for ES6 syntax. Without it, we wouldn't be able to use many of these features.

#How To Run Tests Once you have everything installed, you are ready to run some tests. There are two directories with tests in them: spec and spec-final. The spec-final directory is like a cheat sheet. All of the tests contain the required ES6 code to make the tests pass. You will need to edit the tests in the spec directory, and make the tests pass.

To run the tests, in your terminal run:

npm test

This will execute the tests in the spec directory. Currently all of these tests are disabled, because I have changed the it() statement to xit(), which will skip that test. Your jobs it to one-by-one turn each test back on and get the test to pass, by writing the required ES6 code. Once you have written the required code, the tests will pass, and you can move onto the next test.

As Axel teaches us about ES6, we will take breaks once in a while to run these exercises.

#Thanks If you have any questions, let me know.

If you use this workshop, please Pull Request this readme with a link to your event.

###Events FluentConf 2015 - Axel Rauschmayer & Aaron Frost Framsieforum 19.05, Finn.no

SLC JS Learners April 2015 - Kent C. Dodds


About

A hands on workshop to go in tandem with an ES6 lecture.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published