-
ES2015 and Fun With Parameters
development, javascript, ecmascript, es2015, angularjs ·If you’ve come to JavaScript after learning to program in other languages, one thing that’s probably stuck in your craw over the years has been the lack of any way to define default parameters in functions. You’ve probably written something like this in the past:
-
ES2015, Promises, and Fun With Scope
development, javascript, ecmascript, es2015, angularjs ·I’ve been using Promises for some time now. JQuery has acted as a shim for some time, and several other libraries have been around as well. ES2015 includes Promises natively. If you’re unfamiliar with Promises, I strongly suggest you read this great post by Dave Atchley.
-
Death to Var - Why Let and Const Really Interest Me In JavaScript
development, javascript, ecmascript ·Today I want to talk about the value of ES2015’s new let and const variable declarations, and give you some use case scenarios. But first, let me tell you why I was really looking at all.
-
Angular, Data, and ES2015 Classes
development, javascript, ecmascript, angularjs ·I’m really loving the changes introduced in ES2015 (otherwise known as ES6 or the new JavaScript). At work we’ve transitioned to working in ES2015, and discovering the differences has been both fun and challenging, especially when it comes to changes in how variables are scoped. But we’ll save some of that for another day, and talk for a moment about...