Categories
Javascript

Tutorial: Javascript ES6 (ES2015), get started quickly with babel v6+, Gulp, Browserify and Use Arrow Functions, Classes, Import syntax…

This post is an update to my old tutorial on how to start writing ES6 on the front end with babel.

Categories
Javascript

Javascript promises tutorial – The Future of Async code with ES6 and How they are more than just Pretty Callbacks

javascript promises are the new way of handling complex asynchronous code in ES6. There have been many libraries before (like async in node) that were used for that goal, but now promises are native to javascript.

Categories
Javascript Projects

Pascal’s Triangle in Javascript 6 (ES6)

So I was reading a post on reddit where it was mentioned that on a interview for javascript developer they asked to write a function that returns n lines of Pascal’s Triangle.

My first reaction was of course: What is a Pascal Triangle? After reading wikipedia I said, ok let’s give it a try. At the end I didn’t make a function, but a whole ES6 class that renders it nicely to the browser.

Check out the codepen:

See the Pen A Pascal Triangle in ES6 by Jean-Pierre Sierens (@jpsierens) on CodePen.

If you want to start using ES6 in your projects, check out this tutorial I wrote.

Categories
Javascript

5 Tools every Javascript Developer should Use

Lately I have been thinking about the tools I use to write Javascript. I think about how much it would suck to develop without them. So I am going to list them in order of importance for me, 1st being the most important. I will try to convince you in the process to at least give them a try.

Categories
Javascript Projects

Game of Life in ES6

I made a game of life clone in ES6 .

Instructions on how to run the game are on the projects github page linked above.

The purpose was to learn more about JavaScript, and focus on the new features brought in with ES6. To be able to use ES6 right now I made use of technologies which you can read in this blog post.