Tag: ES6
-
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.
-
Three dots in Javascript: How to use the Spread Operator and its use with Immutable Arrays
What are the three dots you see in javascript code snippets? The three dots are called the spread operator. It’s a new feature brought in with ES6. In this post I will show you some examples where you can use it. I will then talk about how they are helpful for Immutability in your code.
-
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.
-
Javascript Tutorial: How to set up Gulp for Developing ES2015 React v0.14+ Applications with Babelify & Browserify
I want to dedicate a post to show you how to set up Gulp and in particular, a set up for React v0.14 and up. I also focus on doing this in ES2015 (ECMAScript 6 or ES6). I have seen countless threads of people having trouble getting over this initial but important phase. If you are…
-
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…