ECMAScript 6 - Spread Syntax

ECMAScript 6 – Spread Syntax

Have you head about the Spread Syntax? It a way to expand in place an iterable. Lets take a look. What? The Spread Syntax allows you to expand an iterable in place. What this means is if you have an array and you use the spread syntax (…) om it the values in the array […]

ECMAScript 6 - Rest Parameters

ECMAScript 6 – Rest Parameters

Let’s talk about Rest Parameters! What? A Rest parameter is a way to gather all remaining prameters passed to a function into an array. If you are familiar with the arguments object this may seem similar. It is the last named parameters in the function and the name starts with 3 periods (…). Sample Rest […]

WIPDeveloper.com

Around the Web – 20170324

And now for somethings to read over the weekend, if you have some spare time that is. Developer Survey Results 2017 Stack Overflows annual developer survey results were released. Just like sand after a trip t the beach it looks like JavaScript is every where. Salesforce comes to Australia I’ve seen people down under mention […]

Using TypeScript to Transpile ES6 => ES5

They say that TypeScript is a super set of JavaScript so that means that we should be able to use the TypeScript compiler to covert ECMAScript 6 (ES6) to ECMAScript 5 (ES5). Let take a look at how to do just that. Setup According to the docs the TypeScript Transpiler should be installed globally. So […]

Using Traceur On the Fly

Lets do a quick walk-through of using Traceur to run our ECMAScript 6 (ES6) as ECMAScript 5 for older browsers. This a companion article for Setting Up Babel CLI as we look through a few ways to transpile ES6 to ES5. If you look at the handy-dandy compatibility chart you’ll see that Traceur may not […]

Visual Studio 2015 CTP 6 and ECMAScript 6

Did you realize it’s possible to write and use ECMAScript 6 (ES6) today? Projects like Traceur and Babel make it possible to write JavaScript as described by the ES6 standard and use a transpiler to compile it to the JavaScript you may know and love (or hate) of today. Transpilers typically take the source of […]

top